pseudo code and Flowchart

Flowchart and write the pseudo code for a system that does the following: The user is prompted enter a year (check for 4 digits!). The value entered is then checked to see if It is a leap year it is a U.S. presidential election year, but not a leap year Display the results Prompt the user to enter another year until he or she enters 0000, whereupon the application quits