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
1
Expert's answer
2021-10-22T05:07:30-0400
#include<iostream>
using namespace std;
class BOOK{
private:
int BNO;
char BOOKTITLE [30];
int COPIES;
float PRICE, AMOUNT;
};
int main(){
}
Comments
Leave a comment