Question: Write a program named question6c.cpp that demonstrates the use of the following functions. A C++ function named getName()prompts the user for two string values, first

Write a program named question6c.cpp that demonstrates the use of the following functions. A C++ function named getName()prompts the user for two string values, first name and last name and return a combination of the two as one value. The second function getHours()calculate employee\'s weekly pay, it must receive one argument, fullName, a string variable and a float value for the rate. It must then prompt the user for hours worked for each day of the week, l.e. Monday - Friday and calculates the weekly pay. Employees who have worked more than 40 hours that week will receive a bonus of 10% and those who have worked less than 40 hour will receive 10% less pay for that week.

Submit: Program question6a.cpp + output

Program question6b.cpp + output

Program question6c.cpp + output

Step by Step Solution

3.32 Rating (149 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The request is incomplete You are asked to provide a program named question6ccpp and its explanation but the question also mentions question6acpp and ... View full answer

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 Programming Questions!