I know how to prompt the user and everything up to the point were I have to start my while loop.
I guess I should of made that clearer.
Sorry
User Profile
Collapse
-
Help with Java while loops
Hi everyone
I just recently learnt how to do while loops in my java class and I am completely lost. I have to make programs for the following questions but I have no idea were to start.
1.Several pairs (x,y) of numbers are to keyed in. Any pair with x=y terminates the loop. Determine and display counts of how many pairs satisfy x<y and how many pairs satisfy x>y.
2.Two numbers x and y are to be keyed...
No activity results to display
Show More
Leave a comment: