non paramertized questions
non paramertized questions
Member methods
Data members
Int acc_num : to store the accession number of book
String title : stores title of the book
String author : stores the name of the author
Member methods
Void input() to input acc_num , title and author name
Void compute() to accept the number of days late and
Calculate the fine charges @ 2 rs per day
Void display() to display the details in the following format:
Data Members:
Member Function:
Void input()
Double calcommission() computes and returns the commission as
per the monthly sales:
Monthlysales Commission
Upto 5000 5%
5000 to 10000 10%
10000 to 20000 20%
Above 20000 30%
Void display() to display details along with commission.