This is meant to be done in C programming code Write a nextd
This is meant to be done in C programming code. Write a next-day program for 2017. The program should take as input two integers – say, 17 and 5, which represent 17 May – and it should print as output 18 May, which is the next day. Use enumeration types in the program. Pay particular attention to the problem of crossing one month to the next.
Help please!
Solution
1.An enumeration is a user-defined data type that consists of integral constants. To define an enumeration, keyword enum is used. Ex: enum months { jan, feb, ..., decem}; #include
