Skrilov Ihor - portfolio
mechanical engineer
Sunday, June 18, 2023
Triangle area calculate program by one side and perpendicular height for this side
Code of program
:
print("Calculate an area of a triangle by side and perpendicular height")
a=input("side a=")
a=float(a)
h=input("height h=")
h=float(h)
area=(a*h)/2
print("area=")
print(area)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. E Pattern features
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. C Placed features 2
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. D Work features
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. Placed features 1.
No comments:
Post a Comment