I want to have a program that finds the sum of a group of numbers. I would like for it to ask how many numbers total there will be, and then ask for the input.
So output like -
How many numbers do you want to input? 4
Sum = 16.5
Average = 4.13
I read that you can use a definite iteration which takes the amount of times specified, and executes the statement that amount of times. So in this case, 4 would be the times specified. I don't know what code I would use to get that to happen though.