Question: Using c++ please Create 2 functions: Degrees2Radians: which has input Degrees, and returns Radians Drawline: which takes a character and numRepetitions and prints the character
Using c++ please
Create 2 functions:
Degrees2Radians: which has input Degrees, and returns Radians
Drawline: which takes a character and numRepetitions and prints the character numRepetitions times,
followed by a newline
and
main()
for values between 0 and 360, in 5 degree increments,
calculate the value of sin (degrees),
And after every 90 degrees, prints out a line of dashes (minus signs '-')
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
