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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!