Question: 1. (50 pts) Write a C program that converts degrees to radians. You will need to prompt the user to put in a degree value,

 1. (50 pts) Write a C program that converts degrees to

1. (50 pts) Write a C program that converts degrees to radians. You will need to prompt the user to put in a degree value, which your program converts to radians and prints out the result. Specific requirements: (1) Your main function accepts input in degree and display conversion result in radians. (2) Your program is supposed to accept an input value only if it lies between and , inclusively. If the value entered is outside of those boundaries, your program will ask the user again to put in a valid value. If the user just started the program, the prompt for input is supposed to be: "Enter degree: ". If an incorrect value was entered, then the subsequent prompt should be: "Enter degree between and : ", and keeps repeating this message each time an incorrect value is entered until a value in the right range is entered. (3) Write a separate function to convert degrees to radians. Call this function in your main function. I ask you to submit the following: The source code (.c) of your program. A screen shot that demonstrates the proper working of your program: The command line prompt for input(s) for at least three rounds

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!