# Help with Java Question Please make it this way

Question 2 Just for fun, and so that you’re on the
same playing field as all the student that haven’t programmed before, I’d like
you to re-submit this assignment using only simple if statements, the
assignment operator, and the math
operators( – * ? %). No arrays or for loops.
question_one.docx

Unformatted Attachment Preview

Don't use plagiarized sources. Get Your Custom Essay on
Help with Java Question Please make it this way
Just from \$13/Page

Question One
Problem Description
A parking garage charges a \$2.00 minimum fee to park for up to three hours. The
garage charges an additional \$0.50 per hour for each hour or part thereof in excess of
three hours. The maximum charge for any given 24-hour period is \$10.00. Assume that
no car parks for longer than 24 hours. The parking lot attendant should enter the hours
parked for each customer. The application then calculates and displays the parking
charges for that customer and calculates and display the running total of all receipts.
Instructions
1. Based on the problem statement, write an algorithm ( the sequence of actions
required) to calculate the parking charges for each customer and to keep the
running total of all receipts for a single business day. Save your algorithm in a PDF
file.
2. Create a UML Use Case Diagram based on the problem statement. Use UMLet and
save the diagram in PDF format.
3. Create a UML Activity Diagram based on the problem statement and your algorithm.
Use UMLet and save the diagram in PDF format.
Questions 2
Problem
Write an application to perform simple arithmetic operations on integers.
Specification
1. Name the .java file SimpleMath
2. The program should do the following:
o Prompt the user to enter five integer numbers from the keyboard.
o Display the sum, average, product, smallest and largest of the numbers.
o Display the quotient of the first number divided by the second.
o Display the remainder of the fourth number divided by the fifth.
3. The average calculation should result in the integer representation of the average, not the
decimal value.
o
o
o
0 points if your program does not compile.
for comments, indentation and placement of {} per Style Guide.
for each specification met.
2. Submission: Attach your SimpleMath.java source code file and submit.
Rubric
Assign 3 – Simple Math
Assign 3 – Simple Math
Criteria
This criterion is linked to a Learning OutcomeComments, indentation and placement of {} per Style Guide.
This criterion is linked to a Learning OutcomeFile named as specified.
This criterion is linked to a Learning OutcomePrompt user for 5 integers.
This criterion is linked to a Learning OutcomeCalculate and display the sum of the integers.
This criterion is linked to a Learning OutcomeCalculate and display the average of the integers. (integer representation).
This criterion is linked to a Learning OutcomeCalculate and display the product of the integers.
This criterion is linked to a Learning OutcomeFind and display the smallest of the 5 integers.
This criterion is linked to a Learning OutcomeFind and display the largest of the 5 integers.
This criterion is linked to a Learning OutcomeCalculate and display the quotient of the first integer divided by the second.
This criterion is linked to a Learning OutcomeCalculate and display the remainder of the fourth integer divided by the fifth
Total Points: 50.0
Just for fun, and so that you’re on the same playing field as all the student that haven’t
programmed before, I’d like you to re-submit this assignment using only simple if statements,
the assignment operator, and the math operators( – * ? %). No arrays or for loops.

attachment

Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

# Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

### Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

### Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

### Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.

Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.

### Fair-cooperation guarantee

By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.

## Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors: