Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Class name :staff member variables: staffID,staffName,level,no of hours worked Member functions: Constructors-as per your choice Add staff information calculate salary of staff based on the

Class name :staff

member variables: staffID,staffName,level,no of hours worked

Member functions:

Constructors-as per your choice

Add staff information

calculate salary of staff based on the level entered and the number of hours worked.

Rules for calculating salary:

level 1-hourly rate =18

level 2-hourly rate =25

level 2-hourly rate =50

level 4-hourly rate= 100

Display staff information along with salary.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Transport Operations

Authors: Allen Stuart

2nd Edition

978-0470115398, 0470115394

Students also viewed these Programming questions

Question

Discuss the techniques of sales forecasting.

Answered: 1 week ago

Question

Write short notes on Marketing mix.

Answered: 1 week ago

Question

Analyse the process of new product of development.

Answered: 1 week ago