Question: Lab Test 1 (Chapter 1 - 6) Fill in the blank to complete the program. Expected outputs are the below. lcome to the Pay Roll

 Lab Test 1 (Chapter 1 - 6) Fill in the blank
to complete the program. Expected outputs are the below. lcome to the
Pay Roll Program **** ** ****** WIRKLARE This program takes the numbers

Lab Test 1 (Chapter 1 - 6) Fill in the blank to complete the program. Expected outputs are the below. lcome to the Pay Roll Program **** ** ****** WIRKLARE This program takes the numbers (payRate & hours and multiplies them to get gross pay it then calculates net pay by subtracting 15% Please input the pay per hours 9.50 Please input the number of hours worked 20 We hope you enjoyed this program Press any key to continue results.txt - Notepad File Edit Format View Help The gross pay is $380.00 The net pay is $323.00 NAME: CPSC 230 Lab Test 1 Fall 2019 118. Fill in the output statement that prints the grossPay and // netPay to the output file. include 7/1. Fill in the code to bring in the library for formatted output. #include using namespace std; //Function prototypes void printDescription(); void get Inputs(float &payRate, int &hours); float computePaycheck(float rate, int time, float& gross); int main() float payRate; float grossPay; float netPay: int hours; //2. Defines an output stream for an output file lo 13. Open the results.txt file spenfile ( results.txt); cout

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!