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 08:20
Who wants free points + brainliest? answer this question correctly and you shall receive if you're caught driving with you could be punished with up to a year in jail and be fined up to $1,000. a. a suspended driver license or license plate b. an intoxicated minor passenger c. headphones covering both ears d. a broken taillight or headlight
Answers: 1
question
Advanced Placement (AP), 23.06.2019 11:30
Marian is itemizing deductions on her federal income tax return and had $1500 in non-reimbursed work expenses last year. if her agi was $46,000, and if non-reimbursed work expenses are deductible to the extent that they exceed 2 % of a taxpayer's agi, how much can marian deduct for non- reimbursed work expenses? a: $30 b: $580 c: $920 d: $1470
Answers: 1
question
Advanced Placement (AP), 23.06.2019 12:20
Write in detail! will give free points 30 + free ! looking at the red mustang on the left, and the blue prius on the right, explain which vehicle should be given right-of-way at this intersection.
Answers: 1
question
Advanced Placement (AP), 25.06.2019 03:50
Leia a charge e o texto a seguir: a nova gestão escolar encontra-se centrada em aspectos fundamentais à consolidação de um clima organizacional favorável ao desenvolvimento das diferentes atividades que ela realiza. desses aspectos, destacamos a valorização e o investimento no capital humano, a conferência de autonomia e responsabilidades aos profissionais que integram as equipes educativas, o estímulo ao trabalho coletivo e a criação de espaços de diálogo. nesse sentido, verificamos que o clima exerce uma influência muito grande no comportamento e nos sentimentos dos professores e demais colaboradores em relação à organização escolar. relacione a charge ao texto e exemplifique clima organizacional. não se esqueça de organizar sua resposta em um parágrafo de pelo menos dez linhas, com argumentos bem fundamentados e estruturados, primando pela norma culta da escrita.
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
History, 16.12.2019 00:31
question
Social Studies, 16.12.2019 00:31
Questions on the website: 13722359