Question: I need alot of help with finishing this code in visual studio code as well as performing the tasks included Exercise 1 : Fill in

I need alot of help with finishing this code in visual studio code as well as performing the tasks included
Exercise 1: Fill in the code (places in bold) and note that the function
computePaycheck determines the net pay by subtracting 15% from the gross
pay. Both gross and net are returned to the main() function where those
values are printed.
Exercise 2: Compile and run your program with the following data and make
sure you get the output shown.
Please input the pay per hour
9.50
Please input the number of hours worked
40
The gross pay is $380
The net pay is $323
We hoped you enjoyed this program
Exercise 3: Are the parameters gross and net, in the modified calPaycheck
func- tion you created in Exercise 1 above, pass by value or pass by
reference?
Exercise 4: Alter the program so that gross and net are printed in the function
compute computePaycheck instead of in main (). The main() function executes
the statement
cout "We hoped you enjoyed this program" endl;
after the return from the function calPaycheck.
Exercise 5: Run the program again using the data from Exercise 2. You should
get the same results. All parameters should now be passed by value.
I need alot of help with finishing this code in

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