Is this triangle right-angled? - MATLAB Cody - MATLAB Central

Problem 2021. Is this triangle right-angled?

Difficulty:Rate
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

66.9% Correct | 33.1% Incorrect
Last Solution submitted on Mar 12, 2025

Problem Comments

Solution Comments

Show comments

Group

Cody Challenge Image
Cody Challenge
  • 12 Problems
  • 465 Finishers

Problem Recent Solvers5961

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page