#include "time.h" #include "stdlib.h" #include "stdio.h" main () {char C; clock_t start, end; time_t a, b; double var; int i, guess; srand (Time NULL); Printf ("Do you want to play it it. ('Y' or 'n') / n"); loop: while ((c = getchar ()) == 'y') {i = rand ( )% 100; Printf ("/ NPLEase: / N"); start = clock (); A = Time (null); scanf ("% d", & guess); while (guess! = I) { IF (Guess> i) {Printf ("PLEASE INPUT A Little Smaller./N ";scanf ("%d" ,undf ("please Inputf ("please Input A Little Bigger./N"); scanf "% d", & guess;}} end = clock (); b = time (null); printf ("/ 1: it TOOK You% 6.3f Seconds / N", var = (Double) (end-start) / 18.2) :printf ("/1: IT TOOK You% 6.3f Seconds / N / N ", DiffTime (B, A)); if (Var <15) Printf (" / 1/1 you are very very clever! / 1/1 / n / n "); Else IF (VAR <25) Printf (" / 1/1 you are normal! / 1/1 / n / n "); elseprintf (" / 1/1 you are stupid! / 1/1 / N / N "); Printf (" / 1/1 congraDulation / 1/1 / n / n "); Printf (" THE NUMBER You Guess IS% D ", I); }printf (" / NDO you want to try it again? (/ "yy /". Or./"n/")/n" ?;if((( ((((((((((((((((((((((((((((((((((() )=='', "Goto Loop;