A leap year is a year that is divisible by 4 except that it is divisible by 100. Howerever, if it is divisible by 400, it is still a leap year. Write a program get the year no. and determine it is a leap year or not.
Sample Output:
Enter a year: 2000
It is a leap year.
program Leap Year;
var
year : integer;
leap : boolean;
接住寫落去
thx!
急急急急急