Given 3 numbers A, B and C. Find the greatest number among them.
Input: A = 10, B = 3, C = 2
10 is the greatest among the three.
Input: A = -4, B = -3, C = -2
-2 is the greatest among the three.
You don't need to read input or print anything.Your task is to complete the function greatestOfThree() which takes three numbers A,B and C as input parameters and returns the greatest among them.
Expected Time Complexity:O(1) Expected Auxillary Space:O(1)