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 Houseb) 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:>"location:>
cout<"price:>"price:>
}
Output from given main:
Location: 1234 qcc st, Bayside, NY
Price: 1000000
Answer:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here