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

Class Casual_Typist

Lab_17/Education.cpp:153–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151};
152
153class Casual_Typist : public Typist {
154protected:
155 float daily_wage;
156public:
157 Casual_Typist() {
158 daily_wage = 0.0;
159 }
160 void getdata() {
161 Typist::getdata();
162 cout << "Enter the daily wage: "; cin >> daily_wage;
163 }
164 void showdata() {
165 Typist::showdata();
166 cout << "Daily wage: " << daily_wage << endl;
167 }
168};
169
170int main() {
171 //

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected