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: 2

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 21.06.2019 23:00
Did the catholic church make good decisions in their efforts to counter the effects of the renaissance and reformation?
Answers: 2
question
Advanced Placement (AP), 23.06.2019 00:30
70 ! in 2-3 paragraphs of 250-300 words, compare and contrast parallel and relative keys. give clear definitions and specific examples to support your answer.
Answers: 2
question
Advanced Placement (AP), 23.06.2019 17:30
Analyze the map above. using complete sentences, discuss the population distribution of the united states. make sure to address the issue of climate and at least one other factor that has created such an uneven population distribution throughout the region.
Answers: 3
question
Advanced Placement (AP), 23.06.2019 20:00
*giving 20 free points plus brainliest for this drivers ed question * ! which of the following is not the name of a dash gauge? a. speedometer b. gear meter c. odometer d. temperature gauge
Answers: 2
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, 02.10.2019 00:30
question
Mathematics, 02.10.2019 00:30
question
Mathematics, 02.10.2019 00:30
question
Mathematics, 02.10.2019 00:30
Questions on the website: 13722360