q2) write a static method named median that accepts three integers as parameters and that returns the middle value of the three. for example, median (7, 3, 9) returns 7 and median(29, -14, 11) returns 11.