Aim : Write a program in C++ to define the
class worker shown below
class worker (
private :
Wname character (20),
Wno integer,
Wgrate float,
Hourlywagerate float,
Totwage float,
Calcwage(hrwg,wgrate)
public :
Worker();
Indata();
Outdata();
)
CODE:
No comments:
Post a Comment