Simoes Lukas 59f7eead89 A
2025-01-07 15:07:12 +01:00

14 lines
253 B
C

#define RED 1
#define GREEN 2
#define BLUE 4
int hue(void) {
int choice = rand()%3;
if (choice == 0) {
return RED;
} else if (choice == 1) {
return GREEN;
} else /* if (choice == 2) */ {
return BLUE;
}
}