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.95% Correct | 33.05% Incorrect
Last Solution submitted on Mar 19, 2025

Problem Comments

Solution Comments

Show comments

Group

CUP Challenge Image
CUP Challenge
  • 11 Problems
  • 4049 Finishers

Problem Recent Solvers5975

Community Treasure Hunt

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

Start Hunting!
Go to top of page