Érchegyi Dávid
Érchegyi Dávid
typedef struct { Piece; Color; } Square; Decleration doesn't declare anything
enum weekdays = {MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY};
First if's condition should be d1day < d2day, cause then d1 is an earlier date, but This doesn't include years at all so that has to checked as well to:...
b, solution is 2 not 3 The program shortcircuits after the first condition of AND hasn't been met so i get's incremented only twice