![subject](/tpl/images/cats/ap.png)
Advanced Placement (AP), 25.01.2022 02:40 tasphipps
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](/tpl/images/cats/User.png)
Answers: 2
Another question on Advanced Placement (AP)
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 22.06.2019 03:30
Morning guys i got some questions for ya heading your way answer !
Answers: 1
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 27.06.2019 01:30
What happens when two galaxies approach each other? a. they form a black hole. b. they merge because of the strong gravitational pull they exert on each other. c. they shred each other into smaller galaxies. d. they form a supernova. e. they repel each other away because of their strong gravitational pull.
Answers: 1
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 27.06.2019 13:00
Which part of the muscular and skeletal system work together to move muscles and bones?
Answers: 1
![question](/tpl/images/cats/ap.png)
Advanced Placement (AP), 28.06.2019 21:30
Is one accepted term for an early childhood professional who provides care and education to small groups of children in the home
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](/tpl/images/cats/ekonomika.png)
Business, 06.12.2020 05:10
![question](/tpl/images/cats/mat.png)
Mathematics, 06.12.2020 05:10
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.12.2020 05:10
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.12.2020 05:10
![question](/tpl/images/cats/mat.png)
Mathematics, 06.12.2020 05:10
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 06.12.2020 05:10
![question](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/obshestvoznanie.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/biologiya.png)
Biology, 06.12.2020 05:10