Write a house class that has the following properties:
Number of bedrooms.
Boolean to indicate if there is a formal dining room
House size in square feet (calculated by adding the sizes of all the rooms)
Total number of rooms ( calculated: number of bedrooms + formal dining room if present + 1 for kitchen)Number of baths (house can have any number of 1/2 bath or 1/4 of a bath in addition to a full bath - example 1.5, 1.75 or 1.25 bath)
Write the following method
Contructors (2 constructors, default constructor and constructor that you pass bedrooms and bathrooms to)
set methods for number of bedrooms and number of baths
get methods for all fields
The house must calculate its own size by adding all room sizes. Assume each bedroom is 144sf, Kitchen is 100sf, dinning is 150sf, bathroom is 40sf.
The house must calculate its own number of rooms..