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), 25.06.2019 17:30
Poland had achieved self government and can enjoy its since the collapse of the soviet union a: autonomy b: ingenuity c: feminismd: genocide
Answers: 1
question
Advanced Placement (AP), 25.06.2019 23:00
Who pays into social security a employees b self employed c employers d all of the above
Answers: 2
question
Advanced Placement (AP), 28.06.2019 07:20
Analyze the economic development during the twentieth century in sub-saharan africa, southeast asia, or the middle east.(pick one region)#one paragraph is all i need
Answers: 1
question
Advanced Placement (AP), 29.06.2019 11:10
Correlation tells us that two traits or behaviors are related to one another, but it does not prove a.) that your control group has been randomly selected b.) that one trait or behavior caused the other c.) that your study was replicated d.) that your results can now be generalized
Answers: 3
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
Chemistry, 07.11.2019 23:31
Questions on the website: 13722362