Menu

[solved] – Question 79331

Define a class book with the following details (use data file):-
Book_no, Book_title, Book_price, Author, Publishing_date, Bill_amt as attributes.
(i) Create a function Total_cost() to calculate cost of ‘n’ coppices
(ii) Create a Function Input() to enter Book_no, Book_title, Book_price, Author,
Publishing_date and no of books(n).
(iii) A Display() function that displays all the attributes with appropriate prompts
(iv) A function to delete a particular book
(v) A function to update book details

Expert Answer


OR


Leave a Reply

Your email address will not be published. Required fields are marked *