12 lines
		
	
	
		
			198 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			198 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "hue.h"
 | |
| 
 | |
| int hue(void) {
 | |
|   int choice = rand()%3;
 | |
|   if (choice == 0) {
 | |
|     return RED;
 | |
|   } else if (choice == 1) {
 | |
|     return GREEN;
 | |
|   } else /* if (choice == 2) */ {
 | |
|     return BLUE;
 | |
|   }
 | |
| } |