Question: Write a program that will read a file named Rooms.dat containing the length and width for each room in a house. Length and width are

Write a program that will read a file named Rooms.dat" containing the length and width for each room in a house. Length and width are expressed in feet and inches using the format indicated in the example below. Write a C++ program to calculate the total area (in square feet) of the house by adding up the areas for each room. Display the total area on the screen. Assume that there are an unknown number of rooms. Example file (Rooms.dat")
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
