Given a struct array of type Height, having two elements feet and inches, your task is to complete the function findMax(), that must return the maximum height from the array in terms of inches.
The function takes two argument as input, the array of structure and an integer variable denoting the size of the array.
There will be T, test cases and for each test case the function will be called separately.
The function should return the maximum height from the array.
1 2 2 1
3 5 7 9 5 6 5 5
Note:The Input/Ouput format and Example given are used for system's internal purpose, and should be used by a user for Expected Output only. As it is a function problem, hence a user should not read any input from stdin/console. The task is to complete the function specified, and not to write the full code.