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

Another question on Advanced Placement (AP)

question
Advanced Placement (AP), 23.06.2019 10:30
If calculating interest by the previous balance method, purchases and payments during the month __ counted in calculation of interest. a. are b. are not c. must be d. are sometimes
Answers: 1
question
Advanced Placement (AP), 26.06.2019 21:30
54 points human geography in advance
Answers: 1
question
Advanced Placement (AP), 27.06.2019 03:00
Wich of the following is not a receptor pair according to the opponent process theory
Answers: 1
question
Advanced Placement (AP), 27.06.2019 05:40
Asapembassies differ from consulates in thata) compared to a consulate, an embassy is a smaller representation of a nation's government in a foreign country. b) consulates are permanent diplomatic missions generally located in a country’s capital, whereas a country may have a number of embassies in various cities. c) embassies are permanent diplomatic missions generally located in a country’s capital, whereas a country may have a number of consulates in various cities. d) embassies deal solely with economic diplomacy and trade relations, whereas consulates deal primarily with political and diplomatic relations with the host nation. e) countries establish embassies in another nation only if it recognizes the sovereignty of that country, whereas consulates exist without regard to recognition of a nation's sovereignty.
Answers: 2
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, 27.06.2019 10:00
question
Mathematics, 27.06.2019 10:00
Questions on the website: 13722363