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 }
9511_workbooksolved exercises from algorithms & programming I (9511) prof. Cardozo |