- Write a program which prompts the user to input a number,
n
. - The program should respond by printing the sum of the numbers 1 to
n
. - Constraint: No Guassian wizardry !
- Extra Credit (get 250 pts) create a second method which USES the Gaussian Wizardry
- Extra EXTRA Credit (400 pts) create a comparison of the two methods And time them, showing which one is faster!!!
- To establish familiarity with
- Loops
- User input
- Object instantation/declaration
- Method invokation
No Unit Test