subject

Write a while loop to calculate the sum of all the numbers the user inputs, until they put in -1. This means you will need to keep asking the user for a number to add to the sum until they put it in -1.

Sample Run:
Put in your number to add: 3
Your sum is 3.
Put in your number to add: 11
Your sum is 14.
Put in your number to add: 15
Your sum is 29.
Put in your number to add: -1

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 08:00
Apex q: what does a low employment rate indicate? a. not many people are earning high salaries b. not many people are going to college c. not many people are renting their homes d. not many people have jobs
Answers: 2
question
Computers and Technology, 23.06.2019 12:50
Which syntax error in programming is unlikely to be highlighted by a compiler or an interpreter? a variable name misspelling a missing space a comma in place of a period a missing closing quotation mark
Answers: 1
question
Computers and Technology, 23.06.2019 21:00
Uget brainliest if accurate mary has been given the responsibility of hiring a person for the position of a software testing officer. which management function would mary achieve this responsibility?
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
You know the right answer?
Write a while loop to calculate the sum of all the numbers the user inputs, until they put in -1....
Questions
question
Mathematics, 25.11.2019 23:31
question
Mathematics, 25.11.2019 23:31
question
Chemistry, 25.11.2019 23:31
Questions on the website: 13722367