Your question is Largest of Three Numbers. Start with the requirements on the right.
Run and submit as often as you like. When you're ready, talk me through your approach or go straight to the code.
A utility in a TATA ELXSI software component must select the greatest value from three numeric inputs. Write a function that compares the values and returns the largest number.
The solution should work for positive numbers, negative numbers, zero, and cases where two or all three inputs are equal. Do not sort the values, because only one result is required.
Implement find_largest(a, b, c):
a, b, and c.def find_largest(a, b, c):