Question: Exercise # 2 : Redo exercise # 1 but read the input ( Gross Amount ) from a file and write the output to a
Exercise #: Redo exercise # but read the input Gross Amount from a file and write the output to a file.
Exercise#: The sum of the interior angles of a triangle is degrees. Write a program that reads two interior angles of a triangle in degrees, and then calculates the third angle and print its value. The program should then print a message telling whether the triangle is:
Equilateral all angles equal
Isoceles exactly two angles equal
Scalene no two angles equal
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
