Question: plese quiqly Write a C program that: 1. Input the angles of a triangle as float values. (2 marks) 2. Using if-statement, check if the


plese quiqly
Write a C program that: 1. Input the angles of a triangle as float values. (2 marks) 2. Using if-statement, check if the triangle is valid or not. The triangle is valid if the sum of all angles in a tri- 3. If the triangle is valid find its type as follows: . If all angles are equal, then print out: the triangle is Equilateral (2 marks) o If there is a 90 degrees angle, then print: the triangle is Right-Triangle (2 marks) o If there is an angle greater than 90 degrees, then print: the triangle is Obtuse (2 marks) 1 B I iii E IAI do 3 float values. (2 marks) riangle is valid or not. The triangle is valid if the sum of all angles in a triangle = 180. (2 marks) e as follows: out: the triangle is Equilateral (2 marks) en print: the triangle is Right-Triangle (2 marks) 90 degrees, then print: the triangle is Obtuse (2 marks) on 3Step 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
