Cargo Container Report. You will be producing a program which will allow the user to generate the container report on the following page in Container Number order or Ship Name order. The program will also the user to lookup the data for any given Container by number. The % cargo weight is the percentage of the cargo of the gross weight (cargo weight/gross weight), % total is the percentage of the cargo for that container of the total amount of cargo unloaded (cargo weight for the container / total cargo unloaded. Hint: you are expected to use methods for your calculations. The accompanying file has the data for the containers unloaded today. The data includes container number int ship name. String tare weight of the container (empty weight) int the gross weight (container plus the cargo). Int You will need to computer the cargo weight as the gross weight minus the tare weight. If you have issues reading the data with the String, you may remove the String. However, you will lose points. The program will need to allow the user to send the report to the screen or to a file (user's choice). You will provide a menu for the user as follows: Menu 1. Report by Container 2. Report by Ship Name 3. Query by Container 4. Exit Once a report is selected the user will be asked if the report is to be sent to 1. -Screen, 2. File or 3. -Both. It is your chose to use a set of parallel arrays. DO NOT USE THE ARRAYLIST CLASS Your program must demonstrate the following: 1. Proper construction of a program with the proper logic, Methods and data handling 2. Ability to read and write to a file 3. Ability to use the keyboard 4. Ability to validate data 5. Implementation of a sort 6. Implementation of a search 7. Use of output formatting 8. Use of Arrays

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Cargo Container Report.
You will be producing a program which will allow the user to generate the container report on the following page in
Container Number order or Ship Name order. The program will also the user to lookup the data for any given Container
by number. The % cargo weight is the percentage of the cargo of the gross weight (cargo weight/gross weight), % total
is the percentage of the cargo for that container of the total amount of cargo unloaded (cargo weight for the container /
total cargo unloaded. Hint: you are expected to use methods for your calculations.
The accompanying file has the data for the containers unloaded today. The data includes
container number int
ship name. String
tare weight of the container (empty weight) int
the gross weight (container plus the cargo). Int
You will need to computer the cargo weight as the gross weight minus the tare weight.
If you have issues reading the data with the String, you may remove the String. However, you will lose points.
The program will need to allow the user to send the report to the screen or to a file (user's choice). You will provide a
menu for the user as follows:
Menu
1. Report by Container
2. Report by Ship Name
3. Query by Container
4. Exit
Once a report is selected the user will be asked if the report is to be sent to 1. -Screen, 2. File or 3. -Both.
It is your chose to use a set of parallel arrays. DO NOT USE THE ARRAYLIST CLASS Your program must demonstrate
the following:
1. Proper construction of a program with the proper logic, Methods and data handling
2. Ability to read and write to a file
3. Ability to use the keyboard
4. Ability to validate data
5. Implementation of a sort
6.
Implementation of a search
7. Use of output formatting
8. Use of Arrays
Transcribed Image Text:Cargo Container Report. You will be producing a program which will allow the user to generate the container report on the following page in Container Number order or Ship Name order. The program will also the user to lookup the data for any given Container by number. The % cargo weight is the percentage of the cargo of the gross weight (cargo weight/gross weight), % total is the percentage of the cargo for that container of the total amount of cargo unloaded (cargo weight for the container / total cargo unloaded. Hint: you are expected to use methods for your calculations. The accompanying file has the data for the containers unloaded today. The data includes container number int ship name. String tare weight of the container (empty weight) int the gross weight (container plus the cargo). Int You will need to computer the cargo weight as the gross weight minus the tare weight. If you have issues reading the data with the String, you may remove the String. However, you will lose points. The program will need to allow the user to send the report to the screen or to a file (user's choice). You will provide a menu for the user as follows: Menu 1. Report by Container 2. Report by Ship Name 3. Query by Container 4. Exit Once a report is selected the user will be asked if the report is to be sent to 1. -Screen, 2. File or 3. -Both. It is your chose to use a set of parallel arrays. DO NOT USE THE ARRAYLIST CLASS Your program must demonstrate the following: 1. Proper construction of a program with the proper logic, Methods and data handling 2. Ability to read and write to a file 3. Ability to use the keyboard 4. Ability to validate data 5. Implementation of a sort 6. Implementation of a search 7. Use of output formatting 8. Use of Arrays
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY