Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Which Triangle | Conditional Control Flow Practice
C++ Conditional Statements
course content

Course Content

C++ Conditional Statements

C++ Conditional Statements

1. Introduction to Conditional Statements
2. Conditional Control Flow Practice
3. Advanced Topics

bookWhich Triangle

Task
test

Swipe to show code editor

  • Identify the type of triangle based on the lengths of its sides whether it is a equilateral triangle, or isosceles triangle.
  • Output in the console:
    • It is isosceles triangle! if it is isosceles;
    • It is equilateral triangle! if it is equilatera;
    • None of them if it is none of the above.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 3
toggle bottom row

bookWhich Triangle

Task
test

Swipe to show code editor

  • Identify the type of triangle based on the lengths of its sides whether it is a equilateral triangle, or isosceles triangle.
  • Output in the console:
    • It is isosceles triangle! if it is isosceles;
    • It is equilateral triangle! if it is equilatera;
    • None of them if it is none of the above.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Section 2. Chapter 3
toggle bottom row

bookWhich Triangle

Task
test

Swipe to show code editor

  • Identify the type of triangle based on the lengths of its sides whether it is a equilateral triangle, or isosceles triangle.
  • Output in the console:
    • It is isosceles triangle! if it is isosceles;
    • It is equilateral triangle! if it is equilatera;
    • None of them if it is none of the above.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Everything was clear?

How can we improve it?

Thanks for your feedback!

Task
test

Swipe to show code editor

  • Identify the type of triangle based on the lengths of its sides whether it is a equilateral triangle, or isosceles triangle.
  • Output in the console:
    • It is isosceles triangle! if it is isosceles;
    • It is equilateral triangle! if it is equilatera;
    • None of them if it is none of the above.

Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
Section 2. Chapter 3
Switch to desktopSwitch to desktop for real-world practiceContinue from where you are using one of the options below
We're sorry to hear that something went wrong. What happened?
some-alt