The creation and storage of the value stored in num, and all further requests from standard input exist outside the do while loop. Consider adding in the while loop a request to standard input: num = calculator.nextInt();.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top