Question: Please answer question in C++, thank you. Read in name of input file. File will be formatted as below: filename: triangles1.txt 3 4 5 7
Please answer question in C++, thank you.
Read in name of input file. File will be formatted as below:
filename: triangles1.txt
3 4 5 7 7 7
For each line read in the 3 integer values as the 3 sides of a triangle and calculate the area and print on output line with two decimal points.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
