Question: Write a program that allows the user to enter the user to enter two sides of a triangle, a and b and the measure of
Write a program that allows the user to enter the user to enter two sides of a triangle, a and b and the measure of non-included angle A (in degrees) and prints out the measures of the other two angles (if possible).
Note that there are three possible cases - no solution, one solution, or two solutions (in which case you should print both possible pairs of angles). Look for the section called Case 2: SSA or The Ambiguous Case on this web page it shows how to identify how many answers there are:
This is the code I have so far but for some reason, it's giving me errors and I can't seem to figure it out.
I also don't need sideC at all so if I could get that removed without tarnishing the code that would help.
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
