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), 22.06.2019 20:30
How did the large influx of immigrants change america?
Answers: 1
question
Advanced Placement (AP), 23.06.2019 13:30
Free brainliest + free points if answered correctly ! when passing, only when you can see the tires of the vehicle you passed in your rearview mirror. a. return to your lane b. move into the next lane c. flash your headlights d. honk your horn
Answers: 1
question
Advanced Placement (AP), 25.06.2019 14:00
Augustus of prima porta connects to the subtheme identity performance cultures power
Answers: 1
question
Advanced Placement (AP), 26.06.2019 04:00
Indicates a bal of .08 or higher. a. compulsive behavior b. weakened vision c. reduced control of vehicle speed d. loss of judgment
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, 07.12.2019 05:31
question
Mathematics, 07.12.2019 05:31
question
History, 07.12.2019 05:31