Computer Science, asked by rashmim56, 9 months ago

Question 2
Write a program in Java to calculate and display the hypotenuse of a Right-Angled Triangle
by taking perpendicular and base as inputs.
Hint: h=vp+ b​

Answers

Answered by rajeshsolanki5508
1

Answer:

aap na science li dhi 11th ma

Explanation:

pleas tell me

Answered by Vyomsingh
9

Answer:

class hypotenuse

{

void main(int p,int b)

{

double hy=Math.sqrt((p*p)+(b*));

System.out.println("HYPOTENUSE:-"+hy);

}

}

Similar questions