Ask Question

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.

+2
Answers (1)
  1. 11 October, 11:00
    0
    I have know idea so I guess ask the teacher?
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “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 ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers