Object Oriented Programming
Object Oriented Programming
{
Private:
char name[50];
char interface[30];
double space[30];
public:
void store detail of data();
void add();
void Search();
void Return();
void Borrow();
}
class Administrator : public Library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
}
class staff : public library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
}
class student : public library
{
Private:
Char name[50];
Char Gender[50];
Char id[50];
Char address[50];
Public:
void Login();
void Logoff();
void search();
void Add();
void Borrow();
void return();
}
No comments:
Post a Comment