Question: This lab contains 2 procedural programs. That means both programs may just contain one class. Program 1 : Tokenizer Project Write a program to read

This lab contains 2procedural programs. That means both programs may just contain one class.
Program 1: Tokenizer Project
Write a program to read this file and print out the data in good formatting:
The data comes from this Pleasure PlaceDownload Pleasure Place
This file was replaced at 1:00 PM on Tuesday.
File Layout
First Token - Pleasure Place name
Second Token - Pleasure Place type
Third Token - Price of Pleasure Place
Fourth Token - City of Pleasure Place
Fifth Token - State of Pleasure Place
Program 2
2. Specification:
You have a company with employees to manage and track. There are a mix of salaried and hourly employees. In this unit assignment, you will allow the user to enter employee IDs and store them in an array.
Once all employees are entered, the array will be sorted and printed in numerical order, then your program will loop through the array, display the employee ID, and ask the user to input a code to indicate whether the employee receives a set salary or is paid hourly. The code is up to you.
The Employee ID and their employment type will then be stored in a two-dimensional array.
Finally, the user will be presented with a report that lists all salaried workers by ID number, followed by a report that lists all hourly workers by ID.
Specification:
The initial output to be displayed is:
A welcome message that informs the user on the purpose of the program
Instructions on the input process that is to be used (for example, Enter the total number of employees to be entered" and "Please enter an employee ID.)
The inputs required for testing this Java program are listed below:
The total number of employees to be entered.
At least 5 six digit employee IDs- Be sure to validate you had at least 5 entered and that the ids are 6 digits long.
The secondary output to be displayed is:
All employee IDs sorted in numerical order
A message asking user to enter employee type for each employee
A request to enter 1 for salaried and 2 for hourly when prompted
The final output to be displayed is:
A formatted listing of all salaried employees
A formatted listing of all hourly employees
The data constructs, calculations and decisions required are:
An array that will store the employee ID data.
Sort the initial array into numerical order
A two dimensional array to store employee ID and employee type
Depending on program design, you may use interim arrays to hold hourly and salaried workers for the final reporting, or you may sort the array by employee type before reporting, or some combination thereof.
, isplay the employee ID, and ask the user to input a code to indicate whether the
with a report that lists all salaried workers by ID number, followed by a report
Specification:
The initial output to be displayed is:
A welcome message that informs the user on the purpose of the program
Instructions on the input process that is to be used (for example, "Enter the total number of employees to be
entered" and "Please enter an employee ID.")
The inputs required for testing this Java program are listed below:
The total number of employees to be entered.
At least 5 six digit employee IDs - Be sure to validate you had at least 5 entered and that the ids are 6 digits
long.
The secondary output to be displayed is:
All employee IDs sorted in numerical order
A message asking user to enter employee type for each employee
A request to enter 1 for salaried and 2 for hourly when prompted
The final output to be displayed is:
A formatted listing of all salaried employees
A formatted listing of all hourly employees
The data constructs, calculations and decisions required are:
An array that will store the employee ID data.
Sort the initial array into numerical order
A two dimensional array to store employee ID and employee type
Depending on program design, you may use interim arrays to hold hourly and salaried workers for the final
reporting, or you may sort the array by employee type before reporting, or some combination thereof.
This lab contains 2 procedural programs. That

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 Programming Questions!