#include #include #include main(){ srand((unsigned) time(NULL)); int a; char *str; a = rand() % 10; if(a > 5) str = "larger than"; else if(a < 5) str = "smaller than"; else str = "eqaul to"; printf("%d is %s 5.\n", a, str); return(0); }