Create a Java program that will read and write a txt file. Program should have the following specifications: > Display the following options > Read Employee > Enter the employee id number > Display the values of the txt file(after the entry of the employee id number). > Write Employee > Enter employee id number, employee name, department, position, and contract (Regular, Probationary, Part- time) > Write a txt file with the file name as the employee id number and save the data with a format (*your own format*) ex. Employee Id : 10000 Employee Name : Cardo Dalisay Department: CCSE Department Position: Non-Teaching Faculty Contract: Part-time > Exit (terminate the program)

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter8: I/o Streams And Data Files
Section8.5: A Case Study: Pollen Count File Update
Problem 4E
icon
Related questions
Question
Create a Java program that will read and write a txt file.
Program should have the following specifications:
> Display the following options
> Read Employee
> Enter the employee id number
> Display the values of the txt file(after the entry of the employee id number).
> Write Employee
> Enter employee id number, employee name, department, position, and contract (Regular, Probationary, Part-
time)
> Write a txt file with the file name as the employee id number and save the data with a format (*your own
format*)
ex.
Employee Id : 10000
Employee Name : Cardo Dalisay
Department: CCSE Department
Position: Non-Teaching Faculty
Contract: Part-time
> Exit (terminate the program)
Note: It will only terminate the program if the user choose the exit option.
Transcribed Image Text:Create a Java program that will read and write a txt file. Program should have the following specifications: > Display the following options > Read Employee > Enter the employee id number > Display the values of the txt file(after the entry of the employee id number). > Write Employee > Enter employee id number, employee name, department, position, and contract (Regular, Probationary, Part- time) > Write a txt file with the file name as the employee id number and save the data with a format (*your own format*) ex. Employee Id : 10000 Employee Name : Cardo Dalisay Department: CCSE Department Position: Non-Teaching Faculty Contract: Part-time > Exit (terminate the program) Note: It will only terminate the program if the user choose the exit option.
Expert Solution
steps

Step by step

Solved in 4 steps with 1 images

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
Programming with Microsoft Visual Basic 2017
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:
9781337102124
Author:
Diane Zak
Publisher:
Cengage Learning
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage