Write a C++ Program in which a class nameBookthat has attributespages, priceandtitle. It has the following member functions:
Create three Objects of the class and by usingcopy constructorto copy object 1 values to object 2 & 3 and print all the object’s data as shown in the Output below.
Extracted text: I C\Users\hp\Documents\example 4.exe enter Book Title visual Programming enter pages B00 enter price 500 Details of Object 1.. Book Title Pages Price = Visual Programming = 300 = 500 Details of Object 2.. Book Title Pages Price = Visual Programming = 300 = 500 Details of Object 3.. Book Title Pages Price = Visual Programming = 300 = 500
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here