https://ide.codingblocks.com/s/58036 please resolve my code i think it is correct but it gives wrong output
Redundant parenthesis
Hey Neeraj, you have missed an if condition in your code, I have corrected that and commented it you can refer this your updated code.
You haven’t taken input for no. of test cases also.