Question: C++ Write a C++ program to display a table of values for side B, side H, angle (in degrees) and (in degrees) for the right
Write a C++ program to display a table of values for side B, side H, angle (in degrees) and (in degrees) for the right triangle shown. Use a for loop to calculate H, and as side B from 2 m to 20 m in 2 m increments. The output should be a table of values for B,H , and similar to the one shown below (no lines are required). Use O digits after the decimal point for B, 3 digits after the decimal point for H, and 2 digits after the decimal point for , and . You do not need the lines, but the table needs to be aligned. A- 10 m 8 (m) H (m) (degrees) (degrees) 8 10 12 14 16 18 20
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
