Question: PART 1: Write a program in C++ that permits users to enter the following information about your company's five employees and writes the following information

 PART 1: Write a program in C++ that permits users toenter the following information about your company's five employees and writes the

PART 1: Write a program in C++ that permits users to enter the following information about your company's five employees and writes the following information to the file [data.txt). Employee ID. Name Hourly wages All information must be displayed in a well formatted manner, so you can put in relevant manipulators for this purpose. Run your pregram, put in employee information (for 5 emplayees), and verify if you have a bxt file as required. PART 2; At this goint you mast have a txt file with information of 5 empioyees. Go bock to your C++ program ifrom part 13, put the entire existing progrom from part i whthin block comments /../ Now write a new program for part 2 (in that same C++ file) as per instructions given below. Enter hours worked by iname of emploveel: When user puts in the answer, program must calculate the total salary and display on the computer screen as "The salary of iname] is $ [salary]. EXTRA CREDIT ( 10 points) Make provisions in your part 2 program for the salary infonmation (along with some other employee details', to be stored in a new file called (february_salary.twt). Your information must be saved to the file in the following format. ID no. Name Hourly wages Salary Al information must be displayed in a well formatted manner. Submission instructions: 1. Note that there are 2 parts to this program. When you add a cep file to your project to write a code, pou will first need to write the program to part 1 , compile and run it. Then use that same cpe file to write your new code for part 2 . That is why I require you finish part 1 , put your entire code within block comments llq and then write in your ncw code for Part 2 . This way 1 can review what you wrote for part 1 , and also run your code for part 2

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!