-
March 31st, 2011, 12:30 AM
#1
Stupid problem
Hey, I have to create a simple console application but I'm having trouble. I easily finished all the advanced assignments but I don't know how to approach this one because I'm not used to console.
The user has to enter three integers. The console application has to return the biggest, smallest, sum, average, product. How would I go ahead with this? I tried by creating a lot of if statements but that didn't work :P
Any help is greatly appreciated!
-
March 31st, 2011, 01:23 AM
#2
Re: Stupid problem
This looks suspiciously like homework.... What have you done so far? Can you show us some code?
-
March 31st, 2011, 05:48 AM
#3
Re: Stupid problem
It wasn't homework but I figured it out. I used a lot of IF statements and it works.
thanks anyway
-
April 3rd, 2011, 08:12 AM
#4
Re: Stupid problem
Post your code , May be we can help it better
Makdu
visit : http://www.octopusplus.com
-
April 3rd, 2011, 02:26 PM
#5
Re: Stupid problem
Originally Posted by dr_goose91
It wasn't homework but I figured it out. I used a lot of IF statements and it works.
thanks anyway
Doubtful. No real application has such requirements unless you are rewriting the Windows calculator as a console app for... some reason.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|