Question: How to write this C++ program Create a program to estimate the number of boxes of tile that are needed to complete a job of

How to write this C++ programHow to write this C++ program Create a program to estimate the

Create a program to estimate the number of boxes of tile that are needed to complete a job of tiling some number of rooms For full credit, you should define and use at least two functions include some basic input error handling as noted below Parameters of the problem All rooms will use the same tile, and all tiles are square. You must account for the number of whole tiles needed (without attempting to determine if a tile can be split to fit extra space). This means that you cannot just calculate the area of a room and divide by the size of a tile. You will need to round up for partial tiles - look at the ceil function. Your program should input the number of rooms the length and width of each room in whole feet and inches the size of the tile in inches the number of tiles in a box Your program should output the number of tiles and number of boxes per room the number of tiles and number of boxes overall the number of tiles that will be left over Your program should also provide some basic error checking make sure that negative values are not entered for feet or inches make sure that values entered for inches are less than 12 make sure that tile and box sizes are reasonable values

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!