MCPcopy Create free account
hub / github.com/Rustam-Z/cpp-programming / Admin

Class Admin

Lab_16/Source.cpp:235–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233};
234
235class Admin : virtual public Person
236{
237protected:
238 int experience;
239
240public:
241 Admin()
242 {
243 experience = 0;
244 }
245 void getexpr()
246 {
247 cout << " Enter experience in years: ";
248 cin >> experience;
249 }
250 void showexpr()
251 {
252 cout << " EXPERIENCE: " << experience << endl;
253 }
254};
255
256class Master : public Account, public Admin
257{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected