Given the date of an eclipse in 'dd-mm-yyyy' format, write a program to calculate the date of the next eclipse and output it in 'yyyy-mm-dd' format. Assume a simplified uniform interval (e.g., given…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.