Java Exercises 4
Java Exercises 4
CSE AI 06-12-2020
JAVA Exercises - 4
Grade Course GP
O 10
A+ 9.5
A 9
B+ 8
B 7
C 6
P 5
F 0
Where ‘n’ is the number of compounding a year and ‘t’ is the total number of
years.
1|Page
19AIE105 - OBJECT ORIENTED PROGRAMMING
7. Write a single program capable of doing the following matrix operations. Based
on user input the program has to perform one of these operations.
• Matrix Multiplication
• Sum of Matrices
• Transpose of a matrix
• Display only diagonal elements
• Display only upper triangle elements in matrix.
The program should continue unless user wants to exit.
2|Page