Write a complete C++ Object Oriented Program:Create a class named CleverBookMark that consists of the following attributes.
3.1.1 The CleverBookMark class consists of the following:
Data Members:
Access Data Type Name Description
Private Integer numPages The data member that will store the total number of pages in a book.
Private Integer currPageNum The data member that will store the number of the current page.
Private Integer bookMarkPageNum The data member that will store number of the book mark page.
Methods:
Access Return Type Name Description
Public ? ? The default constructor that should set the number of pages to 100 and the current and the bookmark page nr to 0 respectively.
Public ? ? An overload constructor that takes one parameter – to set the number of pages to a value sent to the constructor. The other 2 attributes must be set to 0.
Public Void setValues(…) A method that will set the values of each of the three attributes. Overload this method by one that takes only 2 parameters: one to set the current page number and the bookmark number to values sent to it.
Public Void setValues(…) A public method that will set the bookmark page number to the current page.
Public Void readPagesSetBookMark () The method that should accept a parameter to indicate the number of pages read. The current page number must then be incremented by the number of pages read and the bookmark must be moved to the current page.
Public Integer getPagesToGo() An accessor method that should return the number of pages from the current page that the user must still read to finish the book.
Public Float getPercRead() An accessor method that should return the percentage of the book read.
Public Integer getCurrentPage() An accessor method should return the current page.
3.2
3.2.1 The first object should be created using the default constructor, accepting the values assigned by the constructor as the initial values.
3.2.2 The second object should be created with the other constructor, with the number of pages set to 699.
3.2.3 For object 2, change the bookmark to be at page 100 and the current page must be set to 300.
For each book (object): ask the user how many pages have been read. Update the current page and bookmark accordingly. Display the number of pages still to read in order to finish the book, the percentage of the book read, and the current page number where the bookmark is as output to the screen. Percentages need not be rounded and can be treated as integer values.