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 09:30
Which statement describes absolute and apparent brightness? absolute brightness and apparent brightness are identical ways to describe the brightness of a star. absolute brightness and apparent brightness change with the distance from the star to the observer. absolute brightness depends on the distance from the star to the observer, whereas apparent brightness is always the same. absolute brightness is the actual amount of light produced by the star, whereas apparent brightness changes with distance from the observer.
Answers: 1
question
Advanced Placement (AP), 23.06.2019 17:10
Read the paragraph. we didn’t enjoy our food when we went out to eat, but our friend nelson said that the restaurant normally served some of the best italian food in town. in fact, he said it was one of his favorite places to eat. he said that we should return and give it a second chance. what word best replaces “said” in the last sentence? insisted announced exclaimed shouted
Answers: 1
question
Advanced Placement (AP), 24.06.2019 15:00
Ineed sociology ! 4. are the nacirema from over 60 years ago (1956, when the article was published) largely the same or different from the nacirema of today, with respect to their views of the body and illness? 5. why don’t we recognize right away that miner is talking about “americans”? using miner’s approach, briefly describe a common activity of your choosing, using a perspective of unfamiliarity (e.g., people at a football game, a formal school dance, a concert). article is attached.
Answers: 2
question
Advanced Placement (AP), 25.06.2019 15:30
Working to improve the working conduit a factory is an example of
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, 29.04.2021 05:50
Questions on the website: 13722363