hi guyz, i want to write a program that will find the (sine, cosine and tangent) of adding and subtracting two variables using inheritance and polymorphism concepts. anybody plz help?
appreciate the answer:)
hi guyz, i want to write a program that will find the (sine, cosine and tangent) of adding and subtracting two variables using inheritance and polymorphism concepts. anybody plz help?
appreciate the answer:)
The cmath library has built in functions to calculate the sin, cos, and tan. Look here for more info:
http://www.cplusplus.com/reference/clibrary/cmath/
thanx :)
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.