1 #include <stdio.h> 2 3 typedef enum { 4 LUN, MAR, MIE, JUE, VIE, SAB, DOM 5 } dia_t; 6 7 int main(void) 8 { 9 dia_t dia = VIE; 10 11 printf("%d\n", dia); 12 13 14 return 0; 15 }
9511_workbooksolved exercises from algorithms & programming I (9511) prof. Cardozo |