CodeSolved

Solved Programming Questions & Exercises

Calculate rectangular area

Practice Easy 2/ Download 13678 Views Most popular

Write a program that receives a rectangular length and width from the input and prints its area in the output

95 Answers

This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg) 
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
arz = int(input("enter arz: "))
tol= int(input("enter tol: "))
masahat = (tol*arz)
print ("masahat mesh",masahat)
Amirali Download Python

Barberla User 3603


length = float(input("لطفاً طول مستطیل را وارد کنید: "))
width = float(input("لطفاً عرض مستطیل را وارد کنید: "))

# Calculate area
area = length * width

# Print area
print("مساحت مستطیل برابر است با:", area)
Mma123 Download Python
let tol = prompt('Tol : ')
let arz = prompt('arz : ')
const an = tol * arz
alert(an)

Answer Code File "/tmp/ipython-input-8-4096918500.py", Line 1 Let Tol = Prompt ('Tol:') ^ Syntaxerr: Invalid Syntax User 3603


a=float(input("Enter your length: "))
b=float(input("Enter your width: "))
area=(a*b)
print(area)

Selenofa Download Python
t=int(input("TOL MOSTATIL :"))
A=int(input("ARZE MOSTATIL :"))
masahat = t*A
print("MASAHATE MOSTATIL =" , masahat)
Hana88 Download Python
arz =  int(input('arz  ') )
tool =  int(input('tool  ') )
c = tool * arz
print("masahat = ",c)))
User 3603 Download Python
<< Previous page 1 2 10 Next page >>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×
Close