محاسبه مساحت مستطیل
برنامه ای بنویسید که طول و عرض مستطیلی را از ورودی دریافت کند و مساحت آن را در خروجی چاپ کند
👨💻 2 ساعت قبل کاربر ناشناس این تمرین رو مشاهده کرد
برنامه ای بنویسید که طول و عرض مستطیلی را از ورودی دریافت کند و مساحت آن را در خروجی چاپ کند
length=float(input('nter the length of the rectangle:'))
width=float(input('Enter the width of the rectangle:'))
print(length*width)
a = int(input("whidth:"))
e = int(input("hight:"))
print(a * e)
print("salam")
print("mikhay masat va mohit mostatil khodeto bedast beari"," pas bezab berim")
a = input("tol mostatil: ")
b = input("arz mostatil: ")
a = int(a)
b = int(b)
print("masahat: ",a*b)
print("mohit : ",2*a+2*b)
tool = input()
arz = input()
tool = int(tool)
arz = int(arz)
print(tool * arz)
Tol = float(input("Enter Your Tol Number: "))
Arz = float(input("Enter Your Arz Number: "))
masahat = Tol * Arz
print(masahat)
Tool=int(input("get mostatil tool:"))
Arz=int(input("get mostatil arz:"))
print(Tool*Arz)
a = (int(input('w:')))
b = (int(input('l:')))
print(b * a)
print('masahat=',int(input('tool?'))*int(input("arz?")))
tul=int(input('tul ra vared konid:'))
arz=int(input('arz ra vared konid:'))
print(tul*arz)
size_tool = float(input("لطفا اندازه ی طول مستطل را وارد کنید: "))
size_arz =float(input("لطفا اندازه ی عرض مستطل را وارد کنید: "))
print("masahat = ", size_tool * size_arz)
جوابت را با Markdown بنویس و ثبت کن
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نامتوضیح کوتاهی بنویسید تا تیم بررسی کند.