Write a program to overload the function max() to find the maximum of two integers, two characters and two doubles.
The first line of input contains integer T denoting the number of test cases. For each test case, the first line contains an integer choice i.e if 1 that means integer inputs or if 2 means character inputs and 3 means double type inputs. Next line takes two input, that can be integers or characters or doubles.
For each test case, the output is the maximum of two inputs.
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.