due Monday 29 January 2001
The goal of this assignment is to practise using integer data types, formatted input and output and arithmetic operators.
This assignment is worth 2% of your semester grade.
Here's a sample run. The numbers in big, bold font were entered by the user. The rest was output by the computer.
Please enter the total number of numbers that you want to add together: 3 Please enter number #1: 5 You entered 5. The total is now 5. Please enter number #1: 7 You entered 7. The total is now 12. Please enter number #1: 8 You entered 8. The total is now 20. The grand total is 20. Thanks for playing!