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: 3

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 23.06.2019 00:00
Which of the following credit scores will most likely get you the least expensive interest rate on a car loan
Answers: 1
question
Advanced Placement (AP), 23.06.2019 05:30
Me im timed! gustavo is completing his homework online. when he uses a computer, what converts the information he inputs into instructions that the operating system understands? the keyboard the bios the cpu the application software
Answers: 2
question
Advanced Placement (AP), 24.06.2019 23:30
Ijust need with an idea of how to write it or example.1. for this assignment you will create a developmental timeline. the timeline should include significant events, or possible future significant events, from your entire lifeβ€”from womb to tomb. you are encouraged to personalize your timeline with pictures, etc. for each incident or event that you list, you need to relate it to a concept developed by piaget, kohlberg, or erikson. for example, if one of your events is, β€œi said my first word, ball,” and you have this on your timeline at 15 months, you also need to say, β€œpiaget’s preoperational stage.” along with each event you discuss, provide a brief description of its significance. score
Answers: 1
question
Advanced Placement (AP), 25.06.2019 13:30
What is the objective ideal and how does it apply to interpersonal communication?
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
Spanish, 22.10.2019 05:00
question
Mathematics, 22.10.2019 05:00
question
Mathematics, 22.10.2019 05:00
Questions on the website: 13722361