Question: Part A: Write a pseudocode or draw a flowchart for the following problems. To design/draw the flowchart, you have the options to do it in

 Part A: Write a pseudocode or draw a flowchart for the

Part A: Write a pseudocode or draw a flowchart for the following problems. To design/draw the flowchart, you have the options to do it in different ways, using a flowchart software like Raptor, or a graphical software like https://www.draw.io", or simply on a piece of paper. Problem 1: Get two years A and B, from the user and print all possible leap years in the range (A, B) inclusive. Note: Leap year has 366 days instead of 365 days. Every 4 years we have a leap year. A leap year is a non-century year which is evenly divisible by 4. A century year is the year which ends with 00 (e.g., 1900, 2000, etc. ). Century year also can be a leap year if it is evenly divisible by 400. Sample Input 2000, 2020 1880, 1920 Sample Output 2000, 2004, 2008, 2012, 2016, 2020 1880, 1884, 1888, 1892, 1896, 1904, 1908, 1912, 1916, 1920 1900, 1903

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!