Computer Science, asked by 1231659, 7 months ago

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 jittu93
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