This is the final assignment in the Yikes the Clown series. In this assignment, you will be adding menus and functions ot the program you did in part 2.
Modify the assignment you did in Part 2. Each calculation (range, total time, x and y coordinates) should be placed in a separate function. Additionally:
When Yikes enters his velocity, provide a menu that allows him to choose MPH or KPH for his input. If he chooses MPH, he will enter his velocity in miles per hour and output will be expressed in feet. If he chooses KPH he will enter it in kilometers per hour and output will be in meters. Input should be check for proper input of a double with velocity being greater than zero.
The angle will still be entered in degees, but; Yikes should not be allowed to enter an angle greater than 90 or less than 0.
Lastly, create a single function that will take an x and y coordinate and convert to polar coordinates. Use this function to display Yikes coordinates in polar as well as cartesian.