help with c++ PASTE INDENTED CODE HERE Have to use given main function to test your answer Q1: Implement a class called House. a) A class named House b) Two private data members: location (string) and...


help with c++



PASTE INDENTED CODE HERE



Have to use given main function to test your answer


Q1: Implement a class called House.
a) A class named House
b) Two private data members: location (string) and price (int). c) Accessors and Mutators function for brand, price.


Use following main() to test your class.


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


a.setPrice(1000000);
cout<"location:>


cout<"price:>


}


Output from given main:


Location: 1234 qcc st, Bayside, NY


Price: 1000000


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