course content

Course Content

C++ Conditional Statements

Which TriangleWhich Triangle

Task

Identify the type of triangle based on the lengths of its sides whether it is a equilateral triangle, or isosceles triangle.

Output:

  1. It is isosceles triangle! if it is isosceles.
  2. It is equilateral triangle! if it is equilateral.
  3. None of them if it is none of the above.

Everything was clear?

Section 2. Chapter 3
toggle bottom row