C Programming:
1- Create the abstract base class Book that has the followinginstance variables, constructor, and methods
title ( String)
isbn ( String)
authors (String)
publisher (String)
edition ( int)
published_year (int)
Constructor that takes all of the above variables as inputparameters.
set/get methods
calculate_price (abstract method)
ToString method // that return sting representation of Bookobject.
2- Create the sub class New_Book that is derived from the baseclass Book and has the following instance variables, constructor,and methods:
title ( String)
isbn ( String)
authors (String)
publisher (String)
edition ( int)
published_year (int)
price (double)
Constructor that takes all of the above variables as inputparameters.
set/get methods
calculate_price // returns the price of the book as listed inthe price variable.
ToString method // that
PayPal Gateway not configured
PayPal Gateway not configured