please help us

#include <easyC.h> _GPIO int millisec = 0; int sec = 0; int min = 0; int hour = 0; int day = 0; int week = 0; sub_clock() { if(millisec == 0) //wait until 1000 milliseconds { sec++; //increase the seconds with 1 millisec = 1000; //put again the milliseconds on 1000 } //To determine the values of hour,min and second if(sec>59) //if the 59 sec are over { sec = 0; //put the value of second on zero again min++; //And increase the min with 1 } if(min>59) //if the 59 min are over { min = 0; //put the value of min on zero again hour++; //increase the hour with 1 } if(hour>23) //if the 24 hour are over { hour = 0;//put the value of hour on zero again day++; //increase the day with 1 } } sub_calendar1() { for (day>30) for (day>27) for (day>29) } task main() { //the main program START: clock(); goto START; }

*mod edit: fixed code tags: