Cody

Problem 2021. Is this triangle right-angled?

Created by Tanya Morton in Community

Given three positive numbers a, b, c, where c is the largest number, return true if the triangle with sides a, b and c is right-angled. Otherwise, return false.

Solution Stats

60.46% Correct | 39.54% Incorrect
Last solution submitted on Feb 15, 2019

Problem Comments

Solution Comments

Recent Solvers1577

Suggested Problems

More from this Author10

Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!