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

Class Casual_Typist

Lab_16/Source.cpp:163–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

161};
162
163class Casual_Typist : public Typist
164{
165protected:
166 float daily_wage;
167
168public:
169 Casual_Typist()
170 {
171 daily_wage = 0.0;
172 }
173 void getdata()
174 {
175 Typist::getdata();
176 cout << " Enter the daily wage: ";
177 cin >> daily_wage;
178 }
179 void showdata()
180 {
181 Typist::showdata();
182 cout << " Daily wage: " << daily_wage << endl;
183 }
184};
185
186// Second program classes
187

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected