33.7k views
2 votes
Write a loop that reads positive integers from console input, printing out those values that are even, separating them with spaces, and that terminates when it reads an integer that is not positive. Declare any variables that are needed. 1 2 3 4 5 6 int num

1 Answer

0 votes
1111111111111111111_____________
User Frederick Nord
by
3.8k points