| 233 | }; |
| 234 | |
| 235 | class Admin : virtual public Person |
| 236 | { |
| 237 | protected: |
| 238 | int experience; |
| 239 | |
| 240 | public: |
| 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 | |
| 256 | class Master : public Account, public Admin |
| 257 | { |
nothing calls this directly
no outgoing calls
no test coverage detected