Question: Write a function char[] GenerateNextDate(char[]) such that if a date of the format "23Jan201 2" is input, the next date should be produced.
Eg: Input "12-Dec-1987"
Output "13-Dec-1987"
Please remember the input and output are both strings.
Basic Steps
1. make a check function which checks the input date is valid or not.
2.make nextDay function
3.make string conversion function as mention
Happy Coding.
Solution
Eg: Input "12-Dec-1987"
Output "13-Dec-1987"
Please remember the input and output are both strings.
Basic Steps
1. make a check function which checks the input date is valid or not.
2.make nextDay function
3.make string conversion function as mention
Happy Coding.
Solution
OUTPUT: Enter Date: dd-MMM-YYYY 28-feb-2014 28 feb 2014 1 mar 2014 thanks for your time