You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Q. Write a function called checkTriangleType that takes three parameters representing the lengths of the slides of a triangle. The function should return a string indicating the type of triangle: "equilateral", "isosceles", or "scalene"
//constraint
//? If all three sides are of equal length, return "equilateral";
//? If all two sides are of equal length, return "isosceles";
//? If all three sides are of different length, return "scalene";