You are on page 1of 1

DEADLINE TILL NEXT COMING LAB

Lab Task 1
USE NASTED LOOPS
Draw following pattern but code must be generic.
*
**
***
****
*****

Lab Task 2
1D ARRAY
Write a Java program to calculate the sum, maximum value, minimum value, and
average value of array elements. Also print array in reverse order. Code must be
generic.

Lab Tasks 3
2D ARRAY

Program must me Manu base like 1 for Addition 2 for Subtraction etc.
Construct two matrix A and B size of 3X3. Perform Addition, subtraction,
Multiplication and find transpose of A and B. Output must be store
another 3X3 matrix like C,D, etc.

You might also like