Question: Note: For computer language, please use the one used in the program Dev C++. Thank you. Write a program to calculate the remaining one side
Note: For computer language, please use the one used in the program "Dev C++." Thank you.
Write a program to calculate the remaining one side and two angles for a triangle given two sides and one opposite angle using the law of sines, as illustrated below. Units are not required for the sides.
Inputs: sides a, b, and angle A (in degrees)
Outputs: angles B and C and side c (add the word degrees after each angle)
Turn in a printout of the program and printouts for all required test cases.
Testing: Run the program for the three cases shown below (answers shown for Case 1 in example below):
| Case | side a | side b | angle A |
| 1 | 20 | 10 | 30 |
| 2 | 7.5 | 10.5 | 40 |
| 3 | 100 | 100 | 60 |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
