bobski2200 wrote: i just have to figure a way fo getting it to give the user 8 trys max. Change
while(guess!=random);
to
while(guess!=random && num_tries < 8);
Start num_tries at 0 and increment it after each guess.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen