Question: A palindrome date is a date that is the same when read forwards and backwards, e . g . , 0 2 / 0 2

A palindrome date is a date that is the same when read forwards and backwards, e.g.,02/02/2020. Write a program that identifies and saves to a file all the palindrome dates in the 21st century using the DD/MM/YYYY format. Do not use recursion. Do not use any built-in calendar-ish packages. To keep things simple, treat leap years as regular years.
Record a three-minute video in which you run the code. Then, present your code. Specifically, answer the following questions:
How did you iterate through the different dates? Did you have to iterate over every possible date or your for-loop could be shorter than that?
How did you test if a date was a palindrome date?
How did you write the detected palindrome dates into a text file such that each date is written into a separate line?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!