Question: Due: 5 Mar 21 24 points 1. Trigonometric Values: Write a program that asks the user to input his/her name. The program should then ask
Due: 5 Mar 21 24 points 1. Trigonometric Values: Write a program that asks the user to input his/her name. The program should then ask the user to input an angle in degrees. Once the angle is input, the program should output, Name . ## degrees is ##radians. The trigonometric values are whatever If you have a better way of showing your answer, please do. I want you to do this three times. i) Once with the concatenation operator []. Use the default number of decimals. ii) one with the sprintf command, and Set the decimals to 6 past the decimal. in one with the fprintf command. Set the decimals to 5 past the decimal. Each program must print the user's name, the degrees input, the equivalent in radians and the values of all 6 trigonometric functions. These programs are designed to help you with input and output On all programs, you will graded on how well you interface with the user. How well did the program talk the user through the steps? How understandable were the inputs and outputs. You will be heavily graded on your comments in the program Your program should work. I want everyone to do there own work. Plagiarism is about the only way you will fail this course. If you have any questions, please ask. I can help you write these programs. I have already done them myself Due: 5 Mar 21 24 points 1. Trigonometric Values: Write a program that asks the user to input his/her name. The program should then ask the user to input an angle in degrees. Once the angle is input, the program should output, Name . ## degrees is ##radians. The trigonometric values are whatever If you have a better way of showing your answer, please do. I want you to do this three times. i) Once with the concatenation operator []. Use the default number of decimals. ii) one with the sprintf command, and Set the decimals to 6 past the decimal. in one with the fprintf command. Set the decimals to 5 past the decimal. Each program must print the user's name, the degrees input, the equivalent in radians and the values of all 6 trigonometric functions. These programs are designed to help you with input and output On all programs, you will graded on how well you interface with the user. How well did the program talk the user through the steps? How understandable were the inputs and outputs. You will be heavily graded on your comments in the program Your program should work. I want everyone to do there own work. Plagiarism is about the only way you will fail this course. If you have any questions, please ask. I can help you write these programs. I have already done them myself
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
