using cos/tan/sine with C++

I'm in a programming class and we're using Starting out With C++ by Tony Gaddis (5th Ed.) as a text. I haven't had any form of a math class in like 3 years and I'm only taking this because it's a requirement for my Media Informatics major. I know nothing about C++ and it would be an understatement to say that everything I've learned in it is very, very above my comprehension level. A problem we have to answer is to have the user of the program enter the measurement of an angle in radians and then we have to display the sine, cosine and tangent of the angle-- however, I have no idea how to write this or find it out in a program. Any assistance would be greatly appreciated! Thanks!
This is simple, so don't worry.

Read up on variables and basic input/output. This site has a good tutorial under Documentation.

The cmath library contains the trigonometric functions you need, and work using radians.

By the way, you can use the Search at the top of this page to get quick information on anything in C++ (cin, sin, tan, cmath, cout, etc).
xtandyx, please don't spam multiple forums for information. People hate that and will be less likely to help when you do.
Topic archived. No new replies allowed.