Question: 2 . 1 3 . 2 : Numeric types: Floating - point. The area of a triangle is given by triangle _ area = 1
: Numeric types: Floatingpoint. The area of a triangle is given by triangleareatrainglebasetraingleheight. Read trianglebase and triangleheight from input as floats, respectively. Then, compute trianglearea using the formula. Finally, output 'Triangle area is followed by the value of trianglearea to three digits after the decimal point.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
