Computer Science Canada How easy is this program? |
Author: | J2S [ Thu Nov 23, 2006 8:54 pm ] |
Post subject: | How easy is this program? |
I'm trying to make one that has the user enter a series of numbers and the program will find the largest number once the user exits. It's kind of hard though. Someone help. ![]() |
Author: | ericfourfour [ Thu Nov 23, 2006 9:02 pm ] |
Post subject: | |
Well you get a number see if it is greater than the largest. If it is it becomes the largest. Repeat. |
Author: | J2S [ Thu Nov 23, 2006 9:05 pm ] | ||
Post subject: | |||
|
Author: | J2S [ Thu Nov 23, 2006 9:06 pm ] |
Post subject: | |
I still don't understand it. Harhar ![]() |
Author: | ericfourfour [ Thu Nov 23, 2006 10:14 pm ] |
Post subject: | |
This is not a hard problem. If you want to keep track of the largest number what do you do? If you want to check if a number is greater than the largest number what do you do? |
Author: | Clayton [ Thu Nov 23, 2006 10:20 pm ] | ||
Post subject: | |||
|