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
6 Respostas
+ 6
Problem OR Challenge ? 😶
+ 3
im assuming you use sides m and n to work out the length of o?
+ 1
maybe this helps. but its in python
https://code.sololearn.com/cU2g0Erp6USF/?ref=app
+ 1
sorry need java.
but thanks
0
problem.
i am a begginer.
how i do this on cmd (java)?
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>