subject

Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the user to enter that many numbers, one-by-one, keeping track of the sum. At the end, after the user entered all numbers, output the sum. Create a variable and assign it the value of 0
Prompt the user for how many numbers they have
With a for loop, set it to repeat enough times to get all their values
Prompt the user for a number
Add that number to the variable that started as 0
Output to the user, the sum of all values

ansver
Answers: 3

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 22.06.2019 13:10
What process is believed to be responsible for the formation of the grand canyon? a) diverging tectonic plates b) converging tectonic plates c) erosion over a long period of time d) caving in of the ground due to erosion
Answers: 1
question
Advanced Placement (AP), 25.06.2019 03:00
Secondary school falls between a . kindergarten & elementary b. elementary school & post secondary school c. post secondary school & higher education d. middle school & high school
Answers: 1
question
Advanced Placement (AP), 27.06.2019 16:30
Ineed with these questions except for #16. can someone me .
Answers: 1
question
Advanced Placement (AP), 28.06.2019 02:30
Read the sentence and type the correct answer in the box. kepler discovered that a planet does not orbit the sun at a constant speed. rather, at the point closest to the sun known as the perihelion, the planet’s speed is . very fast
Answers: 1
You know the right answer?
Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the...
Questions
question
Mathematics, 14.01.2020 18:31
question
Biology, 14.01.2020 18:31
question
History, 14.01.2020 18:31