Write a program that prints the n-th day from the end of a month.
The program must read the year, the month, and the remaining number of days till the end of the month from standard input and then output the date.
Write a program that prints the n-th day from the end of a month.
The program must read the year, the month, and the remaining number of days till the end of the month from standard input and then output the date.
Sample Input 1:
2017 3 15Sample Output 1:
2017-03-17Create a free account to access the full topic