Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

please send me program in C++ You want to buy carpet for your home having three rooms. Rooml is labeled as your name, Room2 as

image text in transcribed

please send me program in C++

You want to buy carpet for your home having three rooms. Rooml is labeled as your name, Room2 as labelled as your brother name and Room3 is labeled as your father name. There are many types of carpets available in the market having different prices. Assume you consider four types of carpets available in the market: Price of type 1 is 20 Rs per square feet. Price of type 2 is 25 Rs per square feet. Price of type 3 is 30 Rs per square feet. Price of type 4 is 40 Rs per square feet. You have a total budget of 20 thousand to buy carpet for all the three rooms. A) Input the length and width of each room in feet and display area of each room along with its label. B) Display the total area of all the three rooms. c) Your program will suggest the carpet type that you can buy for the three rooms in your allocated budget. You can use switch statement, loops, structure, functions etc. better organization of your program will carry high marks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Pro SQL Server Wait Statistics

Authors: Enrico Van De Laar

1st Edition

1484211391, 9781484211397

More Books

Students explore these related Databases questions