Any "Java-ians" here? [Challenge]

Difficulty Level: Little higher than medium

WAP in Java to perform matric subtraction [switch-based Question]
Instructions:-
• Accept matric 'A'
• Accept matric 'B'
• Ask the user if he/she wants A-B or B-A
• Display the output according to user's choice.
• Assume that rows and columns of given matric is same.

Thanks!!

Useful Tip: You can also use A=B to put all elements of array B in array A

Add an Answer


Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Helpful Social

Copyright © 2024 EHUB.TIPS team's - All rights reserved.