Project 4.5 Page 139 -
04-05-2012, 09:16 PM
Build a world containing a person who can calculate the average of a sequence of numbers in his or her head. Have the person ask the user how many numbers are in the sequence, and then display a NumberDialog that many times to get the numbers from the user. When all the numbers have been entered, have the person "say" the average of those numbers.
I am a severely confused on this assignment. I am learning flow control statements for the first time and any help would be appreciated. How am I going to get the numbers to add up? What type of variables are going to be needed?
I greatly appreciate any help. I am struggling on this a lot.
|