Assignment 3
1. Write a program to find the second maximum among three numbers.
2. Write a program to to print the day of the week as per the given number
by the user from 1 to 7, display an error message to if given value is out
of the range.
3. Calculate factorial of a number by calling a function
4. Print a Fibonacci series for N terms using a function.
5. Define a function that receives 3 integer arguments and returns the max value.
6. Calculate factorial of a number by calling a recursive function