Question: Given the following C++ source code: #include using namespace std; class Residential Area { wwwww private: public: int house; //number of houses int resident;

Given the following C++ source code: #include using namespace std; class Residential Area { wwwww private: public: int house; //number of houses int resident; //number of residents void setData (h, r) { house=h; www resident=r; } void display () { " cout
Step by Step Solution
There are 3 Steps involved in it
There are several issues in the code provided 1 The class name Residential Area contains spaces whic... View full answer
Get step-by-step solutions from verified subject matter experts
