Question: Lab Assignment Requirements Write a program in a cpp file called roomInformation_LastNameFirstName.cpp that determines the area of the room and the number of boxes; it

Lab Assignment Requirements
Write a program in a cpp file calledroomInformation_LastNameFirstName.cpp that determines the area of the room and the number of boxes; it will take to cover the rooms 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 calculateRoomInformation 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)
Mailings View AaBbCcD Normai No Spacing Lab Assignment Requirements Write a program in a cpp file called roominformation 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, a 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 calculateRoominformation to determine and return both values (area of the room and the number of boxes) needed for the project Hint: Use Pass by References o global variable (-5 pts if you do) (You can test other inputs too) For example: Enter the roon nane: Living Roon Enter the length, and the width: 15 15 To cover the Living Roon with a length = 15 and a width-15 that has an area of 225 will take 14.52 hoxes. ould you like to enter nore roon and infornations (/ND:Y Enter the roon nane: Kitchen Enter the length, and the width: 15 8 To cover the Kitchen with a length-15 and a width hat has an area of 120 will take 7.74 boxes. ould you like to enter nore roon and informations ANN MacBook Air
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
