1 2 3 4 5 6 7 8 9 10 11
#include <time.h> int main() { srand( time(NULL) ); char *states[] = { "Null", "Win", "Lose", "Accel" }; printf( states[ rand() % 4 ] ); return 0; }
1
Accel