Computer Science, asked by kavyar4997, 1 year ago

write a if else statement:-check wether A,B and forms the angles of a triangle or not​

Answers

Answered by FlyingSaturn
1

Answer:

In Java:

if(A + B + C =180)

System.out.println("It forms the angles of a triangle.");

else

System.out.println("It does not form the angles of a triangle.");

In C++:

if(A + B + C =180)

cout << "It forms the angles of a triangle.";

else

cout << "It does not form the angles of a triangle.";

Answered by anchitpatel777
0

Answer:

hi read your que

ready to chat

Explanation:

Similar questions