subject

(Java. it's for AP Computer Science A) Write a program that requests the user input positive numbers until they input -1, then prints the sum of all numbers.

Sample run:

Enter positive numbers (-1 to stop)

3

7

8

-1

Sum is 18

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 00:00
Which requirement is an appropriate reason for a business to use it tools
Answers: 3
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 23.06.2019 11:00
In the context of the box model, what is the difference between a margin and a padding? a. a padding lies outside a box border, while a margin lies inside it. b. a padding lies inside a box border, while a margin lies outside it. c. a padding can be adjusted independently, while a margin depends on the size of its box. d. a padding depends on the size of its box, while a margin can be adjusted independently.
Answers: 3
question
Computers and Technology, 23.06.2019 12:00
3. when you right-click a linked spreadsheet object, what commands do you choose to activate the excel features? a. linked worksheet object > edit b. edit data > edit data c. linked spreadsheet > edit d. object > edit data
Answers: 2
You know the right answer?
(Java. it's for AP Computer Science A) Write a program that requests the user input positive number...
Questions
question
Mathematics, 30.11.2019 03:31
question
Mathematics, 30.11.2019 03:31
Questions on the website: 13722361