Question: c++ PROGRAM 2: Write a program to compute an employee's wages. The user should be prompted to enter a first name, last name, hours worked

 c++ PROGRAM 2: Write a program to compute an employee's wages.
c++

PROGRAM 2: Write a program to compute an employee's wages. The user should be prompted to enter a first name, last name, hours worked and rate of pay (numbers as floats). Output should show the total pay earned. prototypes: void intro: string getName(); // called once to get the first name and another time to get the last name float getValue(); // called once to get the hours worked and once to get the rate of pay float compute Earnings(float, float); // computes the total pay earned void showEarnings(string, string float); // shows the user's full name and the total pay earned

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!