Only for Java programmer or computer programming expert.

For this assignment, you will design a set of classes that work together to simulate a
car's fuel gauge and odometer. The classes you will design are the following:
The FuelGauge Class: This class will simulate a fuel gauge. Its responsibilities are as
follows:
• To know the car’s current amount of fuel, in gallons.
• To report the car’s current amount of fuel, in gallons.
• To be able to increment the amount of fuel by 1 gallon. This simulates putting fuel in
the car. ( The car can hold a maximum of 15 gallons.)
• To be able to decrement the amount of fuel by 1 gallon, if the amount of fuel is greater
than 0 gallons. This simulates burning fuel as the car runs.
The Odometer Class: This class will simulate the car’s odometer. Its responsibilities are
as follows:
• To know the car’s current mileage.
• To report the car’s current mileage.
• To be able to increment the current mileage by 1 mile. The maximum mileage the
odometer can store is 999,999 miles. When this amount is exceeded, the odometer
resets the current mileage to 0.
• To be able to work with a FuelGauge object. It should decrease the FuelGauge
object’s current amount of fuel by 1 gallon for every 24 miles traveled. ( The car’s fuel
economy is 24 miles per gallon.)
Demonstrate the classes by creating instances of each. Simulate filling the car up with
fuel, and then run a loop that increments the odometer until the car runs out of fuel.
During each loop iteration, print the car’s current mileage and amount of fuel. 

Most important things to be done for the assignment.

Don't use plagiarized sources. Get Your Custom Essay on
Only for Java programmer or computer programming expert.
Just from $13/Page
Order Essay

* Proper Validation should be done for the code. For example: asking the user for
entering the number between (0-12) and user typed mistakely 13 or -1 then code
should not be collapsed or error.

1. Need to have proper design ( UML with Flowchart) with Dia app. Flowchart should be drawn  for each method in UML.
2. Proper comments.
3.Proper doc-string describing  each method in code.
4.Proper Documentation should be for the code.
5. with code the UML and flowcart should be matched.

Order a unique copy of this paper
(550 words)

Approximate price: $22

Basic features
  • Free title page and bibliography
  • Unlimited revisions
  • Plagiarism-free guarantee
  • Money-back guarantee
  • 24/7 support
On-demand options
  • Writer’s samples
  • Part-by-part delivery
  • Overnight delivery
  • Copies of used sources
  • Expert Proofreading
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

At Solution Essays, we are determined to deliver high-quality papers to our clients at a fair price. To ensure this happens effectively, we have developed 5 beneficial guarantees. This guarantees will ensure you enjoy using our website which is secure and easy to use.

Money-back guarantee

Most companies do not offer a money-back guarantee but with Solution Essays, it’s either a quality paper or your money back. Our customers are assured of high-quality papers and thus there are very rare cases of refund requests due to quality concern.

Read more

Zero-plagiarism guarantee

All our papers are written from scratch and according to your specific paper instructions. This minimizes any chance of plagiarism. The papers are also passed through a plagiarism-detecting software thus ruling out any chance of plagiarism.

Read more

Free-revision policy

We offer free revisions in all orders delivered as long as there is no alteration in the initial order instruction. We will revise your paper until you are fully satisfied with the order delivered to you.

Read more

Privacy policy

All data on our website is stored as per international data protection rules. This ensures that any personal data you share with us is stored safely. We never share your personal data with third parties without your consent.

Read more

Fair-cooperation guarantee

Ordering and sending money to us is an indication that you are purchasing our products and services. To have business talks laid out in the official language, you can check on our terms and conditions and get more information about this.

Read more

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:
Academic level
Number of pages
Urgency
Order your essay today and save 20% with the discount code: LEMONADEPlace Order
Live Chat+1(978) 822-0999EmailWhatsApp