You’re missing a while after the do block. They go together.
The syntax for do ... while in Java is:
do {
// some statements
} while (/*condition*/);
3
solved Online prompt Java : external error or my own error?
You’re missing a while after the do block. They go together.
The syntax for do ... while in Java is:
do {
// some statements
} while (/*condition*/);
3
solved Online prompt Java : external error or my own error?