A) Write the complete prototype file (House.h file) for a classto represent a house. Include attributes for
street address (string), square footage (int), number bedrooms(int), and number of bathrooms (float).
Prototype only the following five methods: getAll(), thatreturns all four attribute values; default
constructor (written as inline definition); destructor; andsetting / getting square footage.
B) Create the complete class definition file (House.cpp file),defining the four methods from part A that
aren’t inline. Destructor should display message “destroyinghouse with square footage: ” followed by its
square footage value.
C) Create another constructor, that takes four parameters (allexcept first with default values), using
constructor initializer list style.
D) Write a complete testbed source file to declare threeinstances of a house object and to print the value of
all attributes to file HouseOut.txt, with details of each houseon a single line. The first instance will use
only default values. The second instance will provide only thefirst two values at declaration. The third
instance will provide values (no defaults) for allattributes.
E) Extend the testbed source file to declare an array for 10houses, called houseList. Assign to houses that
have odd index values in the array a square footage value ofindex*7, and assign even index values in the
array a square footage value of index +26.
F) Write a loop to display from the array those houses withsquare footage values > 31 square feet.
The test plan must be written only for the tests describedabove. Include a listing of the contents of file
HouseOut.txt after all test plan snippets.
Answer to A) Write the complete prototype file (House.h file) for a class to represent a house. Include attributes for street addr…