Question: Instructions Write a program that reads data from a file specified by the user at runtime ( i . e . your program should accept
Instructions
Write a program that reads data from a file specified by the user at runtime ie your program should accept the filename as user input and stores the output in the file ChExOutput.dat. To test your program, use the ChExData.txt file.
Your program will not pass all checks if it does not accept a filename as input from the user.
For each employee, the data must be output in the following form: firstName lastName updatedSalary.
Format the output of decimal numberspito two decimal places.
Since your program handles currency, make sure to use a data type that can store decimals.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
