Computer Science, asked by ansty, 5 months ago

Write a program to input three angles of a triangle and check whether its construction is possible or not. (A triangle is possible if the sum of all the angles = 180). If possible then check and display whether it is an acute angled triangle, right-angled triangleor an obtuse angled triangle. Otherwise, display „A Triangleis not possible‟.Also write code to find the second largest angle.Sample Input : Enter three angles : 30, 70, 80Sample Output : Right Angled triangle

Answers

Answered by allysia
1

Answer:

Consider the attachment:

Attachments:
Similar questions