Write a program to input 3 sides of a triangle and check whether it forms a triangle. If it forms a triangle check whether it is an equilateral, scalene or isoceles triangle.
Answers
Answered by
1
Answer:
Logic to check equilateral, scalene or isosceles triangle
Input sides of a triangle from user. Store it in some variables say side1 , side2 and side3 . Check if(side1 == side2 && side2 == side3) , then the triangle is equilateral. pls make me a brainiest and follow me
Similar questions