Question: Using DEV c++ C) Write a program to calculate the remaining one side and two angles for a triangle given two sides and one opposite
Using DEV c++

C) 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 Use the TCC template 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 20 7.5 100 10 10.5 100 30 Law of Sines sin (A) sin (B) sin (C) Example If a = 20, b = 10, and A = 30 then sin (309)sin (B) 10 so B=sin-1110. sin (30) sin (30) sin (135.52) 20 -w- l= 14.480 20 C=180-A-B =180-30-14.48= 135.52 20 so c-20. sin (135.529 , 28.03 sin (30)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
