Delphi


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]

Posted by Mike on March 12, 2003 at 14:57:57:

Hello id like to know how to write a Delphi program that prompts for a year in the range 1..9999.
Then to determine if the year entered is a leap year, if it is then print the message IS LEAP YEAR, if it is not a leap year then print the message NOT LEAP YEAR.
Then to repeat asking the user for a year until the number entered is not between 1..9999
Then terminate the program.


Related Articles and Replies:


[ Related Articles and Replies ] [ DelphiLand Discussion Forum ]