Question: Write a Main function and a Function to compute and print the sine and cosine values of the array A elements which are angles in
Write a Main function and a Function to compute and print the sine and cosine values of the array A elements which are angles in degrees.
Within the MAIN function:
Declare a float array A to hold 50 angles in degrees.
Initialize array A elements from the standard input.
Pass the array A to the function as an argument.
Within the function:
Read array A elements and compute and print the sine and cosine values of the array A elements which are greater than 0 and less than 120 degrees? ( Pi=3.14)
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
