public class PseudoCode {
public static void main(String[] args) {
int count = 0;
boolean moreOfThis = true;
do {
// pick a random number
// ask user to guess
// check results
if(successful)
ask if they'll have another go
if(yes)
reset count
else
break; _or_ moreOfThis = false;
} while(moreOfThis);
}
}