Write a java fx gui program that makes a mileage calculator


Problem

Write a java FX GUI program that makes a mileage calculator for a trip. The program should calculate overall mileage as well as individua fuel ratings along each trip line ( for 5 legs).

Empty trip legs should not be included in calculations, should be computed when a Button is pressed

Must have a UI Controller ( CheckBox or RadioButoon with a ToggleGroup) to switch between MPG and liters per 100 kilometers. This UI controller should convert all current numbers in the GUI.

MUST:

Accept User enter miles and duel usage for individual legs of a trip.

Calculate both that leg's mileage, and the overall mileage for the entire trip.

Blank entires should not be in calculations

Assume a max of 5 legs per trip

Have a Button to start calculations

UI Controller must auto convert any current numbers in GUI.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write a java fx gui program that makes a mileage calculator
Reference No:- TGS02782625

Expected delivery within 24 Hours