subject

Write a java program that asks the user to enter a series of integers. when they enter a value of 0, the program should end. if they enter a negative value, ignore it. if they enter a positive value, add it up. at the end of the program display how many numbers they entered, how many were positive and what the sum of all the positive numbers was.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 02:00
Which software would you use to create a print design? a. illustrator b. audacity c. reaper d. dreamweaver
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
Answers: 1
question
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
question
Computers and Technology, 24.06.2019 07:20
Ingrid started speaking about her slide presentation. when she clicked to th"third slide, which had just a picture of an elephant, she forgot what she wassupposed to talk about. what could ingrid do to avoid this situation in thefuture? oa. print handouts for her audience.ob. add presenter's notes to each slide.oc. add a video to each slide.od. save her slide presentation to a flash drive
Answers: 2
You know the right answer?
Write a java program that asks the user to enter a series of integers. when they enter a value of 0,...
Questions
question
Mathematics, 19.02.2021 01:00
question
Mathematics, 19.02.2021 01:00