Define a class book with the following details (use data file):-
Book_no, Book_title,Book_price,Author,Publishing_date, Bill_amt as attributes.
(a) Create a function Total_cost()to calculate cost of 'n' copies 10 coppies
(b)Creat a Function Input() to enter Book_no, Book_title, Book_price, Author, Publishing_date and no of books(n).
(c) A Display() function that displays all the attributes with appropriate prompts(1)
(d) A function to delete a particular book
(e) A function to update book details
1
Expert's answer
2016-06-30T04:10:03-0400
Book.h #pragma once #include <string> #include <iostream>
Comments
Leave a comment