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)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started