Computer Science, asked by aarohi999777, 2 months ago

Write a program to accept three angles of a triangle and check whether the triangle is possible or

not and display the message accordingly​

Answers

Answered by kamalrajatjoshi94
0

Answer:

Refer to the attachment:-

  • The first photo is the program
  • The second photo is the output for a valid triangle
  • The third photo is the output for a invalid triangle as an angle of a triangle is not equals to zero
  • The fourth photo is also the output for a invalid triangle as their angle sum is not 180°
Attachments:
Similar questions