CodeSolved

Solved Programming Questions & Exercises

Calculate the volume of the rectangular cube

Practice Easy 324/ Download 2193 Views

Write a program that receives the length, width and height of the rectangular cube and calculate its volume

Cuban volume of rectangle = length * width * height

15 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.
length = float(input("طول را وارد کنید: "))
width = float(input("عرض را وارد کنید: "))
height = float(input("ارتفاع را وارد کنید: "))
volume = length * width * height
print("حجم مکعب مستطیلی:", volume)
Ai Download Python
a = int(input("hight:"))
w = int(input("whidth:"))
x = int(input("ertefa:"))
print(a*w*x)
Hosien Download Python
s=int(input('لطفا طول مستطیل را وارد کنید'))
b=int(input('لطفا عرض مستطیل را وارد کنید'))
c=int(input('لطفا ارتفاع مستطیل را وارد کنید'))
if s>0 , b>0 , c>0 :
else :
  print('error')
p=s*b*c
print(p)
User 2356 Download Python
t=float(input("t:"))
a=float(input("a:"))
e=float(input("e:"))
ha=(t*a*e)
print(ha)
length=float(input("enter the length>>>"))
show=float(input("enter the show>>>"))
Height=float(input("enter the height>>>"))
Volume_of_a_rectangular_prism=length*show*Height
print(Volume_of_a_rectangular_prism)
Shina Download Python
n1=float(input("Enter first number: "))
n2=float(input("Enter second number: "))
n3=float(input("Enter third number: "))
print(n1*n2*n3)
Feribanoo Download Python
def masahat_rectangle():
    length = int(input("Enter the length of the rectangle: "))
    width = int(input("Enter the width of the rectangle: "))
    height = int(input("Enter the height of the rectangle: "))
    print("The volume of the rectangle is: ", length * width * height)
masahat_rectangle()
User 3116 Download Python
<< Previous page 1 2 Next page >>

Submit answer

Submitting answers is currently unavailable.

×
×
Close