Interval Dates
given start and end date ( inclusive in format YYYYMMDD (ex20381231iwA Dec 20IN), autput list of dates that satisfy exactly one ol the following condition. The output should be in chronological order. One date per line. Input dates belong between the year 1900
to 2100.
1. The day is the 4th Saturday of the month.
2. The day is Saturday and the date is multiple of 5.
Example:
Input dates Start date: 20180728 End date: 20180927
Output:
20180728 20180915 20180922
Explanation:
20180728 4th Saturday of July (28th July 2018) 20180825 Not in the solution as it satisfies both the conditions. 20180915 The date is multiple of 5 and it is a Saturday, 20180922. Ath Saturday of September.
Answers
Answered by
5
Answer:
bjbb to you brother ki Dulhan Ko
Answered by
0
Answer:
Bro. did you get the answer yet?
Explanation:
Similar questions