subject
Advanced Placement (AP), 25.01.2022 01:50 shay8850

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

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 23.06.2019 12:00
Carrie received a w-2 form, 1099-misc, and a 1099-int. what is most likely true about carrie?
Answers: 1
question
Advanced Placement (AP), 23.06.2019 14:00
How can firms use marginal analysis to determine the price of a product? a) profit maximization can occur when the marginal cost exceeds the marginal revenue. b) the total cost of production can determine the individual unit price of a product. c) marginal analysis can be used to determine at what price profit maximization occurs. d) firms can calculate the marginal cost of a product and set the price lower than the cost.
Answers: 2
question
Advanced Placement (AP), 25.06.2019 06:30
You are only allowed to use tutors that your school recommends. t / f
Answers: 2
question
Advanced Placement (AP), 26.06.2019 10:00
Which of the following ideas would not lead to lower amounts of waste? a) the extension of a product’s lifetime b) the elimination of unnecessary packaging c) flexible construction for simple repair d) built-in obsolescence e) the introduction of new design technology
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:00
question
English, 29.04.2021 05:00
Questions on the website: 13722360