Define a class BOOK with the following specifications: PRIVATE DATA MEMBERS: BNO integer type BOOKTITLE 30 characters COPIES integer type PRICE float type AMOUNT float type
Expert's answer
#include<iostream>usingnamespace std;
classBOOK{
private:
int BNO;
char BOOKTITLE [30];
int COPIES;
float PRICE, AMOUNT;
};
intmain(){
}