Question
Create a Java Program With CLI Interface for Program Requirements: Your program will need to read in N entries where value of N is 8.
Create a Java Program With CLI Interface for
Program Requirements:
Your program will need to read in N entries where value of N is 8.
For each entry you need to read in at least a String or more if it is required and read in a number or numbers to perform a calculation. The calculation should be dependent on a series of if else statements which depends on a variation of pricing based on number of items. If it is just a calculation per entry then use if else statements to report on the result for example: calculating fuel consumption could report being very efficient, normal or not efficient.
For each entry you will need to report the charges or calculation results receipt to be displayed. After the entries have been entered you will need to report a couple of cumulative values total money collected and an average of some value(it could be the average of money collected) for example. These could be displayed in a display all option if you are using a GUI interface.
Your program needs to display the principles of good programming practices: meaningful identifies using camel notation, correct indentation and layout, constants used for numeric values and correct commenting including a header comment for all files if applicable.
Input and output
you can use dialogs for input and output or even create your own Windowed GUI Application.
Also it is needed to attach the following with this project:
- Scenario description which you have chosen and program specification.
- Screenshots and description of the output
- Source code must be in text form pasted here.
- Use Random Names As BOB ALEX JOHN only for input wherever needed
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started