Which Triangle
Tehtävä
Swipe to start coding
- Identify the type of triangle based on the lengths of its sides: whether it is an equilateral or isosceles triangle. Ensure the checks are performed in the correct order.
- Output in the console:
It is equilateral triangle!
if it is equilatera;It is isosceles triangle!
if it is isosceles;None of them
if it is none of the above.
Ratkaisu
solution.cpp
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 2. Luku 3
single
Kysy tekoälyä
Kysy tekoälyä
Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme
Awesome!
Completion rate improved to 7.69
Which Triangle
Pyyhkäise näyttääksesi valikon
Tehtävä
Swipe to start coding
- Identify the type of triangle based on the lengths of its sides: whether it is an equilateral or isosceles triangle. Ensure the checks are performed in the correct order.
- Output in the console:
It is equilateral triangle!
if it is equilatera;It is isosceles triangle!
if it is isosceles;None of them
if it is none of the above.
Ratkaisu
solution.cpp
Oliko kaikki selvää?
Kiitos palautteestasi!
Awesome!
Completion rate improved to 7.69Osio 2. Luku 3
single