help with c++ paste indented code plzz Have to use given main function to test your answer Q2: Continue with House class: a) Copy the previous program to a new file. b) Write Constructor with two...


help with c++


paste indented code plzz



Have to use given main function to test your answer



Q2: Continue with House class:
a) Copy the previous program to a new file.
b) Write Constructor with two parameter, and assign to location, and price.
c) Write default constructor, initialize location to “TBD”, price to 0, Implement constructor delegation
d) implement a non-member function names output that will print all information of House object.


Use following main() to test your class.


int main(){
House a("1234 qcc st, Bayside, NY",1000000);




output(a);


House b;


output(b);


}


Output from given main:


Location: 1234 qcc st, Bayside, NY

Price: 1000000

Location: TBD

Price: 0\


ANSWER:





Jun 09, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here