Q. To check whether a year is a leap year or not.


Answer :-

Algorithm :-


1. Start
2. Input Year
3. If year % 4 == 0
          Print "leap year "
     Else
          Print " not leap year "

Pseudocode :-

Y = input " a year"
If y is full divisible by 4
       Display y is leap year
Else
       Display y is not leap year

Flow Chart :-



Click on image for clear view.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post