Computer Science, asked by rabailshafqat2020, 1 month ago

Write a program to calculate the number of bricks needed to build a square room.
You will ask user to enter width and height of the room, now assuming the dimensions
of the bricks to be 4x4 inch, calculate the total number of bricks required to build the
room.

Answers

Answered by yesvibisht2010
0

Suppose your room measurement is 3m x 5m and there is a door of 1m x 2m and the height of the room is 3m and the thickness of the wall is 23 cm.

Then centre line length of this room will be 2[3.23+5.23]=16.92 m

volume of brickwork is 16.92 x 0.23 x 3=11.67cum

deduct for door [1] x 1.0 x0.23 x 2= 0.46cum

deduct for lintel over door [1] 1.3 x 0.23 x 0.1=0.03cum

net brickwork volume is 11.67- [0.46+.03]=11.18cum

Similar questions