Sign InCreate Account

Upgrade to Pro

Upgrade Now

Coding Workspace

EditorProjectsPractice QuestionsTimed Mock ExamsFlowcharts

PseudoEditor AI

Pseudocode TutorCode GeneratorCode FixerCode Converter
Back to Problems
PreviousNext

Sign in to run tests against edge cases and save your code automatically.

Problem Description

Medium

Triangle Classifier

PROSelection & Logic
Selection & Logic
Boolean Logic

Write a program that inputs the lengths of three sides of a shape (positive integers `a`, `b` and `c`, in that order). Three lengths form a valid triangle only if the sum of any two sides is **greater than** the third side. Output one of: - `Not a triangle` - `Equilateral` (all sides equal) - `Isosceles` (exactly two sides equal) - `Scalene` (no sides equal)

Example Input

5 5 5

Example Output

Equilateral

Success Rate:

0% (0 passed / 0 attempted)

Code

Draft auto-saved

Test Results

Click "Test Code" to evaluate your code against the tests.

Product

For SchoolsOverviewFeaturesFAQ
PseudoEditor

© 2026 PseudoEditor. All rights reserved.