Hello lily,
A while statement should have the following form:
while (condition) {
statements;
}
An empty while statement should have the following form:
while (condition);
7.7 do-while Statements
A do-while statement should have the following form:
do {
statements;
} while (condition);