Question: Create file name emp.txt in this format: = = = = = = = = = = = = = = = = = =
Create file name emp.txt in this format:
John D Doe
IT
Sarah S Smith
ACC
James J Joe
HR
Vanessa Bird
ACC
Mira Carpenter
IT
Dora D Alexander
HR
Create static arrays reading from the file. Create only arrays.
Sample of showing data in this format by id name, dept, salary and annualsalary salary using method:
ID NAME DEPT SALARY ANNUAL SALARY
John D Doe IT
Sarah S Smith ACC
After showing all data in that format from the file above get:
highest and lowest annual salary,
total annual salary
average annual salary and
search by id and showing the rest of info related to id
PS DO not send me a code that we didn't go through in class.
The code to write this program is in your folder Exercise in Moodle. Create file name emp.txt in this format:
John D Doe
IT
Sarah S Smith
ACC
James J Joe
HR
Vanessa Bird
ACC
Mira Carpenter
IT
Dora D Alexander
HR
Create static arrays reading from the file. Create only arrays.
Sample of showing data in this format by id name, dept, salary and annualsalary salary using method:
After showing all data in that format from the file above get:
highest and lowest annual salary,
total annual salary
average annual salary and
search by id and showing the rest of info related to id
PS DO not send me a code that we didn't go through in class.
The code to write this program is in your folder Exercise in Moodle.
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
