Given two integers (positive , negative or even 0) say a and b. Find the minimum value of a$b where $ is any arithmetic operation like multiply(*), Divide(/), Addition(+),Substraction(-). Use Exception Handling in this problem.
The first line will contain an integer T (number of test cases). Each test case will contain two integers a and b.
Print the minimum value of a$b.
1 < = T < = 100
In test case 1: 5*(-5) = -25
In test case 2: 4*0 = 0
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.