Question: Please i need help here.... for the program in question please use #include , #include ,#include , and #include , and namespace std;. Note i

Please i need help here.... for the program in question please use #include, #include,#include, and #include, and namespace std;. Note i use Xcode, please see File i created and example of how code should look the simpler the better. Please make it in the same format as the example i posted , using myEmployee.txt file i attached in picture. please use same wording if possible.
thank you kindly
Please i need help here.... for the program in question please use
#include, #include,#include, and #include, and namespace std;. Note i use Xcode, please
see File i created and example of how code should look the
simpler the better. Please make it in the same format as the

incudo Necded ... OneLogin Assignments > Programming with files Programming with files Hide Assignment Information Instructions Write a program that creates a data file called myEmployee.txt in which you will inputting five employee's name, hours worked and base salary. open this file and read the data and calculate the gross pay of each employee and send the results of weekly gross income to another file called thisWeekGrossPay.txt. the output file shall have employees name, hours worked and base salary as well as his/her gross pay. after completion and working successfully copy your source code, as well as input file and output file content paste into a Microsoft word and upload as assignment. Due Date Mar 17, 2021 11:30 PM Submit Assignment my Employee.txt Daniel Consuegra Imp Kamal Salomon Refi Patricia Gonzalez Antonio Suarez Valerie Diaz 9.50 15 13 11 23 40 43 41 48 45 IS ation ments loads ge w $ 11 Created by Daniel Consuegra on 3/13/21. 6 // 7 include 9. Winclude 10 #include 11 #include 12 using namespace std; 13 int main() 16 16 17 declear cvariable for file and data 16 ifstream inFile; 17 ofstream outFile: 19 double testi, test2, test3, test4, test5; double average 24 string firstName; string lastName: infile.open(my Employee.txt") outfile.open(thisWeekorous Payout"); outFileccfixede showpoint outFileccsetprecision(2): outFilece processing Data*ccendl; ma%Ang8mm33. inFile>>firstName>>lastName: out File> testi>>test2>>test3>>test>>test51 1/ sending Introantion to out put file outFilectest Scores *>firstName>>lastName: outFiles "Student name: ">testi>>test2>>test3>>test4>>test5; 1/ sending infroamtion to out put file outFiles("test Scores : *

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!