Write a program to accept perpendicular and base of a right angled triangle. Calculate
and display hypotenuse, area and perimeter of the triangle.
Answers
Answered by
0
Explanation:
per = int(input())
bas = int(input())
hyp = (per**2 + bas**2)**0.5
area = per*bas*0.5
perim = per + bas + hyp
print(hyp, area, perim)
Similar questions