-It should write guess of the secret number to standard output.
-It should ask the user if the secret number is higher, lower, or if you guessed correctly.
-It should read the answer. Repeat the question if it is not one of three possible answers.
-It should claim victory if the answer is that the guess is correct.
-It should keep asking until it has a correct guess, or give up after 10 failed attempts.
-It should only accuse the player of cheating, if it is absolutely certain.
void function bizzbuzz
for (i = 1; i<=100; i++) {
set print_number to true;
if i is divisible by 3
print "Bizz";
set print_number to false;
if i is divisible by 5
print "Buzz";
set print_number to false;
if print_number, print i;
print a newline;
}
As for your problem, you have to learn to do it all yourself.