You are viewing a single comment's thread. Return to all comments →
@ohdoghdffdogdf, you need place int x=1 out of the while loop. Otherwise, it prints 1 everytime for each subsequent lines.
Seems like cookies are disabled on this browser, please enable them to open this website
Java End-of-file
You are viewing a single comment's thread. Return to all comments →
@ohdoghdffdogdf, you need place int x=1 out of the while loop. Otherwise, it prints 1 everytime for each subsequent lines.