Question: C++ language 3. A leap year is a year that has 366 days in it. Say, you are given a year (eg 2000). How would
3. A leap year is a year that has 366 days in it. Say, you are given a year (eg 2000). How would you check whether it is a leap year or not? Write out a step by step procedure (within 5-6 steps) for your logic. (4pts) You can use this format to write your procedure: Step 1: Check condition : if true, go to Step Step 2: Check condition if true, go to Step Step 3: Check condition : if true, go to Step Otherwise, go to Step Otherwise, go to Step Otherwise, go to Step Step 4: The year is a leap year Step 5: The year is not a leap year
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
