mardi 27 mai 2014

program for add n days into given dates in C


Vote count:

0




I Want run program for add n days into given dates within C language


I tried this one only void make_date(int *d,int *m,int *y,int days) { int flag=0,temp=0; // variable days must have positive integer value while(flag temp) { (*m) ++; (*d) = 1; } if( (*m) == 13) { (*y) ++; (*m) = 1; } flag++; } // end of while return; } // end of function



asked 40 secs ago






Aucun commentaire:

Enregistrer un commentaire