subject
Advanced Placement (AP), 25.01.2022 01:20 aa985960

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

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 23.06.2019 10:30
Free points + brainliest to one who answers it correctly braking is when you squeeze the brake pedal until just before the wheels lock, then ease off the pedal, then squeeze again, repeating until you've reduced your speed enough. a. traditional b. power c. abs d. threshold
Answers: 2
question
Advanced Placement (AP), 24.06.2019 15:30
Doing a science fair project should i do cafeteria waste or solar power
Answers: 2
question
Advanced Placement (AP), 27.06.2019 07:30
The process that keeps heat from being transffered between two substances
Answers: 1
question
Advanced Placement (AP), 27.06.2019 16:20
Professor king finds out that the results of her study on visual and auditory stimuli and activity in the right hemisphere of the brain are statistically significant. what does it mean when the results of a study are statistically significant?
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
Spanish, 18.03.2021 01:20
question
Mathematics, 18.03.2021 01:20
Questions on the website: 13722361