Implement a Python function that calculates the missing angle of a right triangle given one of the two sides opposite or adjacent to the angle and the hypotenuse. The function should follow the provided implementation.
Input/Output Requirements
Inputs:
o (float): The length of the side opposite the angle.
h (float): The length of the hypotenuse.
a (float): The length of the side adjacent to the angle.
Outputs:
Returns an integer representing the missing angle in degrees, rounded to the nearest whole number.
Constraints
The inputs o, h, and a can be any float values greater than or equal to 0, with the constraint that at least one of o, h, or a must be non-zero.
Implementation
Write the function to be placed in a file called /app/solution.py.
Ensure that the function handles cases where the hypotenuse (h) or one of the sides (o or a) is zero, as demonstrated in the provided implementation.
Ensure to test the function comprehensively to validate its correctness under various scenarios.