Computer Science, asked by sa0912991, 16 days ago

write a C program to find the cost of white washing a room. the user input the length, breadth and height of the room and the cost per unit area of whitewashing​

Answers

Answered by s1743aditi03251
0

Area to be whitewashed = area of four walls + area of ceiling

Formulas to be noted :−

Area of four walls =2 ( length + breadth ) × height

Area of ceiling = area of rectangle = length × breadth

In the question, length of the room =6m

breadth of the room =4.5m 

height of the room =3m

On the basis of formulas given above :−

Area of four walls =2(6m+4.5m)x3m

Area of four walls =2(10.5m)x3m

Area of four walls =21mx3m

Area of four walls =63m2

Area of ceiling =6m×4.5m

Area of ceiling =27m2

Therefore, area to be whitewashed =63m2+27m2

Area to be whitewashed =90m2

Cost of whitewashing = rate at which area is being whitewashed × area to be whitewashed 

Cost of whitewashing =Rs8/m2×90m2

Cost of whitewashing =Rs8×90

Cost of whitewashing =Rs.720.

Was this answer helpful?

25

4

SIMILAR QUESTIONS

The length breadth and height of a room are 6 m,4.5 m and 3 m respectively. Find the cost of white washing the walls of the room and the ceiling at the rate of Rs 8 per m2.

Medium

View solution

>

The length, breadth and height of a room are 5 m, 4 m and 3 m respectively. Find the cost of white washing the walls of the rooms and the ceiling at the rate of Rs.7.50 per m2.

Similar questions