Problem 1: Palindrome and Ambigram date. On 22 February, 2022 the date 22022022 was both a palindrome and an ambigram (e
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Problem 1: Palindrome and Ambigram date. On 22 February, 2022 the date 22022022 was both a palindrome and an ambigram (e
Don't cut and paste the solution that already on answers.
Problem 1: Palindrome and Ambigram date. On 22 February, 2022 the date 22022022 was both a palindrome and an ambigram (especially, when displayed on a digital (LCD - Type) display. You should look up these terms to understand exactly what that means. Write code that can find all other examples of dates that are palindromes AND ambigrams in the history of the modern calendar (from the year ) For this assignment, you may assume that the 12-month year has existed since the year zero, and that the number of days per month is unchanged from then till now... You may also assume that the date format ddmmyyyy is in use now and for our purposes, throughout history. You will have to apply your mind to understanding what actually makes a palindrome a palindrome. And what makes an ambigram an ambigram. For extra credit Comment on the difference between the date format ddmmyyyy and the ISO standard date format VyXymmdd.