Write a C++ program to input angles of a triangle and check whether the triangle is valid or not

Last modified on December 24th, 2019

Write a C++ program to input the angles of a triangle and check whether the triangle is valid or not but using the if-else statement.

Flowchart of the program to input angles of a triangle and check whether the triangle is valid or not but using the if-else statement.

Flowchart of the program to input angles of a triangle and check whether the triangle is valid or not but using the if-else statement.

 

C++ Source code to input angles of a triangle and check whether the triangle is valid or not but using the if-else statement.

Output

enter three angles of a triangle

3

8

9

the triangle is not valid

SFT (Shamil’s Flow Table )

Are you interested to Read about SFT(Shamil’s Flow Table)?

Explanation of the C++ program to input angles of a triangle and check whether the triangle is valid or not 

Subscribe for Friendship

Latest posts by Prof. Fazal Rehman Shamil (see all)