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

Class Account

Lab_16/Source.cpp:214–233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212};
213
214class Account : virtual public Person
215{
216protected:
217 float pay;
218
219public:
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
235class Admin : virtual public Person
236{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected