Computer Science, asked by Satyadevpal06, 11 months ago

Make a flow chart on -(b) input a year. Display the message "Leap Year” if the entered year has 366 days; otherwise display the
message "Not a Leap Year”.​

Answers

Answered by HanitaHImesh
21

Leap year is the year having 366 days.

Attachments:
Answered by Anonymous
7

Leap year algorithm :-

  1. Check If the year is completely divisible by 4, then go to step 2.  
  2. Check If the year is completely divisible by 100, then go to step 3.
  3. Check If the year is completely divisible by 400, then go to step 4.
  4. After computation, the year is a leap year if it has 366 days.
  5. The year is not a leap year if it has 365 days.

Flowchart is given below :-

Attachments:
Similar questions