subject
Advanced Placement (AP), 25.01.2022 01:50 shay8850

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), 23.06.2019 22:30
Need with my drivers ! ** willl mark you brainliest if answered correctly ** when the center line is one solid yellow line and one broken yellow line, who may cross the line to pass? a. traffic on the side with the broken yellow line b. traffic on the side with the solid yellow line c. traffic on either side d. nobody
Answers: 1
question
Advanced Placement (AP), 24.06.2019 03:30
Hurry: the angle measures associated with which set of ordered pairs share the same reference angle? (-square-root 3/2, 1/2) , (-1/2, -square-root 3/2) (1/2, -square-root 3/2) , (-square-root 3/2, 1/2) (-1/2, -square-root 3/2), (1/2, square-root 3/2) (square-root 3/2, 1/2) , (1/2, square-root 3/2)
Answers: 1
question
Advanced Placement (AP), 24.06.2019 15:00
What best describes the portability characteristic of money?
Answers: 1
question
Advanced Placement (AP), 25.06.2019 01:00
What is tge speed of sound in dry air at 0°c
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, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
History, 14.09.2020 14:01
question
English, 14.09.2020 14:01
question
Social Studies, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Health, 14.09.2020 14:01
question
History, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Social Studies, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
History, 14.09.2020 14:01
question
Mathematics, 14.09.2020 14:01
question
Chemistry, 14.09.2020 14:01
Questions on the website: 13722367