Skrilov Ihor - portfolio
mechanical engineer
Sunday, June 18, 2023
Trapezoid area calculate program
Code of program
:
print("Calculate trapezoid area")
a=input("side a=")
a=float(a)
b=input("side b=")
b=float(b)
h=input("height of trapezoid h=")
h=float(h)
area=(a+b)*h/2
print("trapezoid 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. 2D sketches.
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. Placed features 1.
Exercises from book "Autodesk Inventor exercises" by Bob McFarlane. C Placed features 2
No comments:
Post a Comment