Given an angle "theta" (less than 90 deg) and hypotenuse length from the user, calculate the lengths of the opposite and adjacent lengths of a right triangle. Also calculate the area of the triangle and output all results to the screen. The units of measure (cm, meters, inches, feet) should be determined by the user input and included in the output. The precision of the output should be 4 significant digits You must include your Algorithm steps in the comment section like this: Step 1. Step 2. Step 3. ...Algorithm completed *******************************************************************************/ // start your code here.... const double PI = 3.14159265; Write Code in C++. Please and Thank You.
Given an angle "theta" (less than 90 deg) and hypotenuse length from the user,
calculate the lengths of the opposite and adjacent lengths of a right triangle.
Also calculate the area of the triangle and output all results to the screen.
The units of measure (cm, meters, inches, feet) should be determined by the user
input and included in the output. The precision of the output should be 4 significant digits
You must include your
Step 1.
Step 2.
Step 3.
...Algorithm completed
*******************************************************************************/
// start your code here....
const double PI = 3.14159265;
Write Code in C++. Please and Thank You.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 2 images