wtite a program in java to find the diagonal of a rectangle
Answers
Answered by
1
Answer:
see the pics
hope it will helps you
Attachments:
Answered by
3
........hey dude ........
____here is ur answer ______
Java Code for Diagonal of a Rectangle
- Java Code for Diagonal of a Rectangleutil.*;
- Java Code for Diagonal of a Rectangleutil.*;lang.*;
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.public static void main(String args[])
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.public static void main(String args[])double d,w=20,h=10;
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.public static void main(String args[])double d,w=20,h=10;d = Math. sqrt(Math. pow(w,2)+Math. pow(h,2));
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.public static void main(String args[])double d,w=20,h=10;d = Math. sqrt(Math. pow(w,2)+Math. pow(h,2));println("Result Value = "+d);
- Java Code for Diagonal of a Rectangleutil.*;lang.*;class RectangleDiagonal.public static void main(String args[])double d,w=20,h=10;d = Math. sqrt(Math. pow(w,2)+Math. pow(h,2));println("Result Value = "+d);}.
...........good morning ☺.....
..... ....... follow me.... .........
follow ☺me ☺ frnd
Similar questions