Help me with 2 basic problems.
First problem.
Determining the if the year is a leap year or not. Whenever I try to put a year (leap year and non leap years), they all appear to be leap year. lol
We can say a year is a leap year when it is not a multiple of 100 and is divisible by four, and when a year is a multiple of 100 and is divisble by 400.
eg.
4 = leap year
6 = not leap year
1900 = not leap year
1600 = leap year
Second problem.
Determining the quadrant where the x and y variable lies. Example if x = 1 and y = 1, then a message box will appear telling its on Quadrant 1.
We can say a its on Q1 when x and y are >0, Q2 when x is >0 and y <0, Q3 when x and y are >0 and Q4 when x >0 and y <0.
Really need help. Can you please reply with the codes?
Thanks