dim length,breadth,width,diameter as single
dim shape,colour as string
dim Number_of_slabs , Number_of_batches as integer
console.writeline("enter number of slabs ")
Number_of_slabs =console.readline()
if Number_of_slabs <20 or Number_of_slabs >100 then
console.writeline ("invalid Number of slabs")
number_of_batches = Number_of_slabs\20
if Number_of_slabs/20 > 0 then
Number_of_batches = Number_of_batches+1
console.writeline("the number of batches is "& Number_of_batches)
console.writeline("enter color")
colour=console.readline()
console.writeline("enter depth")
if depth <> 38 or depth <> 45 then
console.writeline (" invalid depth")
Console.WriteLine("Enter Shape")
shape = console.readline()
Console.WriteLine("square")
console.writeline ("enter length")
length=console.readline()
console.writeline("enter width")
volume20=(length * width * depth * 20)/100000
console.writeline("the volume of 20 square slabs is "& volume20)
if shape ="rectangle" then
console.writeline("input length")
length=console.readline()
console.writeline("input width")
volume20=(length * width * depth * 20)/100000
console.writeline(" the volume of 20 rectangular slabs is "& volume20)
console.writeline("round")
console.writeline("enter diameter")
diameter=console.readline()
volume20=(3.14 * (diameter/2) * (diameter/2) * depth * 20)/100000
console.writeline(" the volume of 20 circle slabs is "& volume20)
console.writeline(" shape is not valid ")
loop until shape="rectangle" or shape="square" or shape ="round"