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
Question
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
Solution
I'm sorry, but you didn't provide a text for me to respond to. Could you please provide the text?
Similar Questions
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 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 Input
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
Ravi wants to estimate the total utility bill for a household based on the consumption of electricity, water, and gas. Write a program to calculate the total bill using the following criteria:The cost per unit for electricity is 0.12, for water is 0.05, and for gas is 0.08.A discount is applied to the total cost based on the following conditions:If the total cost is 100 or more, a 10% discount is applied.If the total cost is between 50 and 99.99, a 5% discount is applied.No discount is applied if the total cost is less than 50.The program should output the total bill after applying the discount with two decimal places.Input format :The input consists of three double values, representing the number of units consumed for electricity, water, and gas respectively.Output format :The output prints a double value, representing the total bill after applying the discount, formatted to two decimal places.Refer to the sample output for formatting specifications.Code constraints :1.00 ≤ units consumed ≤ 10000.00Sample test cases :Input 1 :1000.0200.0100.0Output 1 :124.20Input 2 :500.030.020.0Output 2 :59.95Input 3 :120.070.045.0Output 3 :21.50
A local painting company calculates the cost of painting rooms based on the size ofthe room. Each square meter of wall space requires a specific amount of paint andlabor, which has a set cost. The company often deals with orders for multiple roomsof different sizes but wants to understand the calculation of total costs to providequick estimates to customers.You are developing a program to help the painting company calculate the total costof painting multiple rooms in a house. You should write a function in pseudocode thataccepts three input parameters: (a) the number of square meters of the room and (b)the number of rooms to paint. The company charges $1.50 per square meter forlabor and paint. The function should return the total cost for painting the rooms.i. Write the function here…………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………[3]ii. Use the function defined in part (i) to get the total cost for painting 8 rooms of30 square meters per room. Print the result.……………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………………[2]
A tablet computer that usually sells for $599 was advertised with a saving of $148.Calculate the percentage discount being offered. Round to the nearest per cen
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.