How to get the Sine and Cosine of an inputed number by the user?

Recommended Answers

All 2 Replies

Try calling the sin() and cos() functions from the cmath header.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.