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), 23.06.2019 02:30
Astudent should never give his or her __ to anyone when looking for scholarships
Answers: 1
question
Advanced Placement (AP), 23.06.2019 10:30
Another term for an organizational aid is ‘assistive image’. select the best answer from the choices provided
Answers: 3
question
Advanced Placement (AP), 23.06.2019 19:00
Read the scenario below and answer the question that follows. bailey is plagued with sleep problems at least a couple of times a week. she often feels tired at work and doesn't do her best work because she is "just so tired." according to the lesson, it can be said that adults have some of the same problems with sleep that bailey does. a. few b. many c. no d. all
Answers: 1
question
Advanced Placement (AP), 24.06.2019 16:00
Julie’s psychologist her get over her fear of spiders. which goal of psychology has the psychologist met? a.describeb.predictc.controld.explain  select the best answer from the choices providedabcd
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, 01.04.2021 18:00
question
Mathematics, 01.04.2021 18:00
question
History, 01.04.2021 18:00