help to make this program

Jun 8, 2015 at 12:30am
Create a library with functions that convert between angles expressed in radians, degrees, and revolutions. Each function has a return type of double and an input A, also of type double:

- rad2deg: given input A in radians, return the value of the angle in degrees

- deg2rad: given input A in degrees, return the value of the angle in radians

- rev2deg: given input A in revolutions, return the value of the angle in degrees

Next, creat a program that makes use of your library. Ask the user to specify whether he/she wants to convert radians to degrees, degrees to radians, or revolutions to degrees. Depending on the choice, ask the user to specify the input value and call the correct function in the library. Output the result. You can use 3.1416 for the value of pi.
Jun 8, 2015 at 12:43am
We will not do your homework, and don't double post
http://www.cplusplus.com/forum/beginner/166908/
Jun 8, 2015 at 2:32am
you should try yourself to solve the problem. people will help where you stuck.
you should show at least some code.
Topic archived. No new replies allowed.