May 2012
Intermediate to advanced
679 pages
16h 56m
English
class RefBooks
{ private: string40 title ; char ISBN [15]; int qty; float price; public: void getData(); void show(); };
class TextBooks
{ private: string40 title; string15 ISBN; int qty; float price; public: void getData(); void show(); };
Comment: both the classes are nearly same. The class TextBook may have field “author” as String. The class RefBook may have field “editor” as String. An ISBN Number uniquely identifies a book.
Read now
Unlock full access