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

Class ACCOUNT

Lab_15/Source.cpp:72–97  ·  view source on GitHub ↗

For the second program

Source from the content-addressed store, hash-verified

70
71// For the second program
72class ACCOUNT
73{
74private:
75 // customer name, account number and type of account.
76 string name;
77 string account_number;
78 string type_account;
79
80public:
81 void getdata()
82 {
83 cout << " Name: ";
84 cin >> name;
85 cout << " Account Number: ";
86 cin >> account_number;
87 cout << " Type of Account: ";
88 cin >> type_account;
89 }
90
91 void showdata()
92 {
93 cout << " Name: " << name << endl;
94 cout << " Account Number: " << account_number << endl;
95 cout << " Type of Account: " << type_account << endl;
96 }
97};
98
99class CURR_ACCT : public ACCOUNT
100{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected