Mr. Raj wishes to lay decorative tiles for his rectangular study room floor. The cost of laying the tiles is Rs. C / Sq. m. Find the total cost Rs. T of laying the tiles. The contractor offers a discount of Rs. D % for the work if T is greater than or equal to Rs. M. (i.e. minimum cost value to get discount).Find the total cost after the discount if any.Note: Area of the rectangular room = length *breadth
Question
Mr. Raj wishes to lay decorative tiles for his rectangular study room floor. The cost of laying the tiles is Rs. C / Sq. m. Find the total cost Rs. T of laying the tiles. The contractor offers a discount of Rs. D % for the work if T is greater than or equal to Rs. M. (i.e. minimum cost value to get discount).Find the total cost after the discount if any.Note: Area of the rectangular room = length *breadth
Solution 1
To solve this problem, we need to follow these steps:
Step 1: Calculate the area of the rectangular room. The area (A) of a rectangle is calculated by multiplying its length (L) by its breadth (B). So, A = L * B.
Step 2: Calculate the total cost (T) of laying the tiles without any discount. This is done by multiplying the area of the room (A) by the cost per square meter (C). So, T = A * C.
Step 3: Check if the total cost (T) is greater than or equal to the minimum cost value to get a discount (M). If T >= M, then the contractor offers a discount. If not, then the total cost remains the same.
Step 4: If a discount is applicable, calculate the discount amount. The discount (D) is calculated as a percentage of the total cost. So, D = T * (D/100).
Step 5: Subtract the discount amount from the total cost to get the final cost. So, the final cost = T - D.
So, the total cost after the discount (if any) is either T (if no discount is applicable) or T - D (if a discount is applicable).
Solution 2
To solve this problem, we need to follow these steps:
Step 1: Calculate the area of the rectangular room. The area (A) of a rectangle is calculated by multiplying its length (L) by its breadth (B). So, A = L * B.
Step 2: Calculate the total cost (T) of laying the tiles without any discount. The cost of laying the tiles is given as Rs. C per square meter. So, T = A * C.
Step 3: Check if the total cost (T) is greater than or equal to the minimum cost value to get a discount (M). If T >= M, then the contractor offers a discount. If not, then the total cost remains the same.
Step 4: If a discount is applicable, calculate the discount amount. The discount is given as a percentage (D) of the total cost. So, the discount amount = T * D / 100.
Step 5: Subtract the discount amount from the total cost to get the final cost. So, the final cost = T - discount amount.
Remember, all the measurements for length and breadth should be in meters, and the costs should be in Rupees.
Solution 3
To solve this problem, we need to follow these steps:
Step 1: Calculate the area of the rectangular room. The area (A) of a rectangle is calculated by multiplying its length (L) by its breadth (B). So, A = L * B.
Step 2: Calculate the total cost (T) of laying the tiles without any discount. This is done by multiplying the area of the room (A) by the cost per square meter (C). So, T = A * C.
Step 3: Check if the total cost (T) is greater than or equal to the minimum cost value to get a discount (M). If T >= M, then the contractor offers a discount. If not, then the total cost remains the same.
Step 4: If a discount is offered, calculate the discount amount. The discount (D) is calculated by multiplying the total cost (T) by the discount rate (D/100). So, D = T * (D/100).
Step 5: Subtract the discount amount from the total cost to get the final cost. So, Final Cost = T - D.
So, the total cost after the discount (if any) is either T (if no discount is offered) or Final Cost (if a discount is offered).
Similar Questions
Write a code in c\ #### Mr. Raj wishes to lay decorative tiles for his rectangular study room floor. The cost of laying the tiles is Rs. C / Sq. m. Find the total cost Rs. T of laying the tiles. The contractor offers a discount of Rs. D % for the work if T is greater than or equal to Rs. M. (i.e. minimum cost value to get discount).Find the total cost after the discount if any.Note: Area of the rectangular room = length *breadthInput FormatRead the length of the room (Integer)Read the breadth of the room (Integer)Read the cost of laying the sheet per square meter (Integer)Read the minimum cost value to get a discount (Integer)Read the discount percentage (Float)Output FormatArea of the room (Integer)Total cost of the work (Float)You are eligible for discount/ You are not eligible for discountDiscount amount on the total cost (Float)Total cost to be paid (Float)Sample Input55352520007Sample OutputArea of the room 1925Total cost of the work 48125.00You are eligible for discountDiscount amount 3368.75Total cost to be paid 44756.25
How much will it cost for the tiles on the walls and floor of a 3 m-high, 12 m-by-16 m-squared room? The room has one door and two windows.Statement A: The price of a square meter of tiles is 20 rupees.Statement B: The size of the tile is 1.5m by 1.5mStatement C: Each window has a 6 square meter surface area, which is 40% of the door’s surface area.aOnly statement A is sufficient to answer the question.bStatements A and B are sufficient to answer the question.cStatements A and C are sufficient to answer the question.dStatements A, B, and C are sufficient to answer the question.
A rectangular piece of land has a length of 500 m and a breadth of 300 m respectively. Find the area and the cost of the land. The condition given is 1 m2 of the land cost Rs 10,000.
Input FormatRead the length of the roomRead the breadth of the roomRead the cost of laying the sheet per square meterRead the minimum cost value to get a discountRead the discount percentageOutput FormatArea of the roomTotal cost of the workYou are eligible for discount/ You are not eligible for discountDiscount amount on the total costTotal cost to be paidSample Input55352520007Sample OutputArea of the room 1925Total cost of the work 48125You are eligible for discountDiscount amount 3368.75Total cost to be paid 44756.25
Mrs. Kaushik has a square plot with themeasurement as shown in the figure. She wants toconstruct a house in the middle of the plot. A garden is developedaround the house. Find the total cost of developing a garden aroundthe house at the rate of ` 55 per m2
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.