Question: One of the formulas to calculate the area of a triangle is: Where b and care any two sides and a is the angle
One of the formulas to calculate the area of a triangle is: Where b and care any two sides and a is the angle formed by these two sides. Using the formula above, write a program to get input of the two sides and the angle, calculate and display the area of the triangle as shown in the sample outputs below. Enter the 2 sides of the triangle in cm: 5.6 7.8 Enter the included angle in degrees) : 30 The area of the triangle Enter the 2 sides of the Enter the included angle The area of the triangle = 10.92 sq cm triangle in cm: 9.8 7.6 in degrees): 140 = 23.94 sq cm
Step by Step Solution
3.32 Rating (152 Votes )
There are 3 Steps involved in it
Sure Below is a Python program that calculates and displays the area of a triangle based on the form... View full answer
Get step-by-step solutions from verified subject matter experts
