9511_workbook

solved exercises from algorithms & programming I (9511) prof. Cardozo
Index Commits Files Refs README
guia05/ex03.c (168B)
   1 #include <stdio.h>
   2 
   3 typedef struct {
   4     unsigned long hours, mins, seconds;
   5 } time_s;
   6 
   7 time_s *stoh(unsigned int sec, time_s *time);
   8 {
   9     time->hours = sec / 3600;
  10     time
  11 }