1. You are required to check if a given set of numbers is a valid pythagorean triplet. 2. Take as input three numbers a, b and c. 3. Print true if they can form a pythagorean triplet and false otherwise.
Input Format
a, an integer b, an integer c, an integer
Output Format
true if the numbers form a pythagorean triplet and false otherwise
Constraints
1 <= a <= 10^9 1 <= b <= 10^9 1 <= c <= 10^9
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
5 3 4
Output
true