Core Java Practical Assignment
Q.1 Write a Java program to find the factorial of a number.
Q.2 Write a java program that initialization earnings of an employee. The program shouldcalculate the income tax to be paid by the employee as per the criteria given
below:
Q.3 Write a program to input n numbers on the command line argument and calculate the maximum of them.
Q.4 Write a program to print the sum and average of the even and odd numbers separately given on the command line argument.
Q.5 Write a program to print the following pattern given n as argument:- [for input 3] 1 2 2 3 3 3