Advanced Placement (AP), 25.01.2022 01:40 Carlosanddana123
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
Answers: 1
Advanced Placement (AP), 23.06.2019 06:00
50 on a scale of one to ten, how cute is this dog? (for a science project i need data)
Answers: 2
Advanced Placement (AP), 25.06.2019 19:30
What did louis xiv do that create absolute monarchies?
Answers: 1
Advanced Placement (AP), 25.06.2019 21:30
Indicates a bal of .05 or higher. a. loss of judgment b. altered mood c. weakened vision d. having trouble steering
Answers: 1
Advanced Placement (AP), 26.06.2019 05:30
Coal combustion produces which of the following waste products? i. tar ii. methane iii. electricity i only ii only i and ii ii and iii i, ii, and iii
Answers: 1
Ask the user how many numbers for which they want to calculate the sum. Using a for loop, prompt the...
Mathematics, 07.10.2019 11:00
History, 07.10.2019 11:00
Social Studies, 07.10.2019 11:00
Biology, 07.10.2019 11:00
Mathematics, 07.10.2019 11:00
Geography, 07.10.2019 11:00