| 212 | }; |
| 213 | |
| 214 | class Account : virtual public Person |
| 215 | { |
| 216 | protected: |
| 217 | float pay; |
| 218 | |
| 219 | public: |
| 220 | Account() |
| 221 | { |
| 222 | pay = 0.0; |
| 223 | } |
| 224 | void getpay() |
| 225 | { |
| 226 | cout << " Enter pay amount: "; |
| 227 | cin >> pay; |
| 228 | } |
| 229 | void showpay() |
| 230 | { |
| 231 | cout << " PAY: " << pay << endl; |
| 232 | } |
| 233 | }; |
| 234 | |
| 235 | class Admin : virtual public Person |
| 236 | { |
nothing calls this directly
no outgoing calls
no test coverage detected