C program to find all Pythagorean triplets in a given range of numbers

preview_player
Показать описание
A great E-book on Data structures and algorithms written by a software engineer who has himself worked in MNC's. Its available for a very affordable price.
Do check it out by clicking on the link below and boost your preparation.

In this video, I have written a small code to find all the Pythagorean triplets from 100 to 1000
Please like comment share and subscribe.
Thanks for watching!
Рекомендации по теме
Комментарии
Автор

The code does not generate all the triplets!
For example (102, 136, 170), (105, 140, 175), (117, 156, 195), (171, 228, 285) are some of the triplets which aren't generated...but the list goes on. Please look into it and correct the code..

SudharshanR-ctnf