WAP to calculate and display the diagonal of a rectangle by accepting height and width d=√(h2+w2)
Input
h=10
w=20
Output=22.36
Explanation
√(102 + 202 )= √500=22.36
Published By : Sunita Chhetry
WAP to calculate and display the diagonal of a rectangle by accepting height and width d=√(h2+w2)
Input
h=10
w=20
Output=22.36
Explanation
√(102 + 202 )= √500=22.36