Question: Use C++ and Visual Studio Write a program in a cpp file called roomlnformation_LastNameFirstName.cpp that determines the area of the room and the number of

Use C++ and Visual Studio Write a program in a cpp fileUse C++ and Visual Studio

Write a program in a cpp file called roomlnformation_LastNameFirstName.cpp that determines the area of the room and the number of boxes; it will take to cover the room's floor. Each box of tile will only cover 15.5 square feet. The program should prompt the user to input the following information: room name, length of the room, and the width of the room. The program then outputs the inputs (the name of the room, length of the room, and width of the room), area of the room, and the number of boxes of tiles needed. Your program must contain at least two functions: one called getData to get the user input and another one called calculate Roomlnformation to determine and return both values (area of the room and the number of boxes) needed for the project. Hint: Use Pass by References No global variable (-5 pts if you do) (You can test other inputs too) For example: Enter the ieogt ha and the tidoon 15 15 Enter the length. and the vidth: 15 15 To cover the Living Room with a length15 and a width 15 that has an area of 225 will take 14.52 boxes Would you like to enter more room and informations : Y Enter the room name: Kitchen Enter the length. and the width: 15 8 To cover the Kitchen with a length = 15 and a width = 8 that has an area of 120 vill take 7.74 boxes. Iould you like to enter more room and informations Y/N); N

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!