Write a program that reads a date from the standard input and output the following information on it:
1) number of the day in the year;
2) the number of the day in the month.
Write a program that reads a date from the standard input and output the following information on it:
1) number of the day in the year;
2) the number of the day in the month.
Sample Input 1:
2017-06-03Sample Output 1:
154 3Sample Input 2:
2017-04-28Sample Output 2:
118 28Create a free account to access the full topic