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 12:30
1) in the era after world war i and before the great depression, american towns grew rapidly because of
Answers: 1
question
Advanced Placement (AP), 23.06.2019 12:00
Dorgan as just issued a memo to all this employees saying that all tests are to be administered in exactly the same way, given in the same room, and scored in exactly the same way. dorgan wants to ensure that all of his tests
Answers: 3
question
Advanced Placement (AP), 23.06.2019 20:20
With my drivers ed ill mark you brainliest can someone correct me if i’m wrong or confirm if i’m right? i think the answer is d to move forward in an automatic transmission vehicle, shift to a. park b. reverse c. neutral d. drive
Answers: 1
question
Advanced Placement (AP), 25.06.2019 04:30
Why are radio observatories located in valleys far away from urban centers? a. to shield them from electromagnetic interference b. to avoid sound pollution c. to avoid disturbing people living in the city d. to shield them from water vapor
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
Biology, 11.11.2019 00:31
question
Mathematics, 11.11.2019 00:31
question
World Languages, 11.11.2019 00:31
Questions on the website: 13722367