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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started