Computer Science, asked by jiyamukherjee244, 11 months ago

Write a program to enter three angles of a triangle and check whether a triangle is possible or not

Answers

Answered by Shree2610
1

Answer:

take three inputs and perform following.......

Explanation:

if(a+b+c==180)

{

System.out.println("Possible");

}

else

{

System.out.println("Not possible");

}

Answered by lovelykitty05
1

Answer:

I have used Scanner here..

If you dont want to use it just input the numbers in public statis void main(int a, int b,int c) and don't have to write all that..

Attachments:
Similar questions