Latest Tutorials| Questions and Answers|Ask Questions?|Site Map




Have Programming Question? Ask it here!
 
 
 


Derrick
java program
0 Answer(s)      a year and 6 months ago
Posted in : Java Beginners


A user will input a sequence of positive integers ending with a sentinel -1. write a while loop hat counts the number of even an dodd integers and prints the cumulative total. for example, if the input is 1 7 2 9, the program should print out 1 8 10 10 EVEN:1 ODD:3


Advertisement
View Answers

Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com