9511_workbook

solved exercises from algorithms & programming I (9511) prof. Cardozo
Index Commits Files Refs README
guia02/ex02.c (190B)
   1 #include <stdio.h>
   2 
   3 typedef enum {
   4         ERROR,
   5         OK
   6 } status_t; 
   7 
   8 int main(void)
   9 {
  10 
  11     status_t isworking = OK;
  12 
  13     if (isworking == 1)
  14         printf("OK\n");
  15     else
  16         printf("ERROR\n");
  17 
  18     return 0;
  19 }
  20 
  21