0

Pythagorean triangulation

Write a plan Which receives two numbers m and n and prints the relevant Pythagorean triangulation according to the following form (where z, y, x

3rd Nov 2017, 9:08 AM
Toren Shragai
Toren Shragai - avatar
6 Answers
+ 6
Problem OR Challenge ? đŸ˜¶
3rd Nov 2017, 10:08 AM
Ekansh
+ 3
im assuming you use sides m and n to work out the length of o?
3rd Nov 2017, 12:04 PM
D_Stark
D_Stark - avatar
3rd Nov 2017, 1:15 PM
Da Riebi
Da Riebi - avatar
+ 1
sorry need java. but thanks
3rd Nov 2017, 1:16 PM
Toren Shragai
Toren Shragai - avatar
0
problem. i am a begginer. how i do this on cmd (java)?
3rd Nov 2017, 10:09 AM
Toren Shragai
Toren Shragai - avatar
0
Program name java.Pythagoras . Three integers c, b, a are considered three pythagorean if they fulfill the equation a^2+b^2=c^2 . There are an infinite number of these three. One way to produce three categories is as follows: Given two integers m and n, where m>n then the three numbers m^2-n^2, 2mn, m^2+n^2. Write a plan Which receives two numbers m and n and prints the relevant Pythagorean triangulation according to the following form (where z, y, x They are from the escrow numbers). The Pythagorean triplet is: <x \ y \ z>
3rd Nov 2017, 12:25 PM
Toren Shragai
Toren Shragai - avatar