Problem Statement - 04-2016
Define a class named BookFair with the following description: 
Instance variables/Data members:
String Bname – stores the name of the book.
double price – stores the price of the book.
(i) BookFair() – Default constructor to initialize data members.
(ii) void Input() – To input and store the name and the price of the book.
(iii) void calculate() – To calculate the price after discount. Discount is calculated based on the following criteria.
Less than or equal to Rs 1000 2% of price
More than Rs 1000 and less than or equal to Rs 3000 10% of price
More than Rs 3000 15% of price
(iv) void display() – To display the name and price of the book after discount.
Write a main method to create an object of the class and call the above member methods.
CSKC| Created: 16-Apr-2019 | Updated: 22-Feb-2020|ICSE2016