i need to do a java program that finds the hypotenuse of a right triangle itried like 5 times but i cant do it can someone plz help me.
i need to do a java program that finds the hypotenuse of a right triangle itried like 5 times but i cant do it can someone plz help me.
A^2 + B^2 = C^2
Math.pow(num, power);
Show what you have done.
Ask user to input one side of triangle and store in a variable x
Ask user to input second side of triangle and store in a variable y
Square x and y and add them together, and then find the square root of that sum
Print out the result
it's simple do ur own homework
it's simple do ur own homework
Everyone needs help from time to time. I'm sure YOU can agree on that......
Everyone needs help from time to time. I'm sure YOU can agree on that......
Are u joking, he's posted it three times, with no attempt of any work.
With something so trivial, it's gone way beyond a joke now surely?
Don't be a hypocrite:
http://www.daniweb.com/techtalkforums/thread30823.html
Oh, no, I wasn't joking.
Sorry I think i mistaken him for another person, unless he has another alias. So I thought he was that other person who post b4. I'm not sure now. But you have to admit it is rather simple.
Classes on the other hand, are not.
it is rather simple if you know math and programming. Sadly a lot of people lack the math, and a lot of people lack the programming.
A rather large subgroup of those 2 groups lacks both.