Laboratory Assignment For Monday of Week of 4/10/04 1) Given a year find if it is a leap year. An year is leap yar if 1. It is divisible by 400 or 2. It is not divisible by 100 and it is divisible by 4. Example: Year 1700 is not a leap year but year 1996 is a leap year. Write a method which has int "year" as input parameter and prints yes/no. The return type will be void. 2) Write a FOR loop based program which prints the first n terms of the following series S(a,d,n) = F(n) - H(a,d,n) where F(n) : n-th term in the Fibonacci series (i.e., 1,1,2,3,5,8,13,...), H(n) : n-th term in the Harmonic Series, i.e., 1/(a+(n-1)*d). The method should have n, a and d (all int) as input parameters. 3) Write a recursive program to print the reverse of a string: Rev(String str).