Question: Draw a flowchart for the following program Problem 1: Get two years A and B, from the user and print all possible leap years in

Draw a flowchart for the following program
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
Get step-by-step solutions from verified subject matter experts
