14.05 Distance Traveled JavaFX | Starting Out With Java

Опубликовано: 16 Июль 2026
на канале: The Blind Programmer
50
0

#java #programming #tutorial #programmingtutorials


Assuming there are no accidents or delays, the distance that car travels down an interstate
highway can be calculated with the following formula.

distance = speed X time

create an application that allows the user to enter car's speed in miles per hour.
the application should have buttons that display the following:

The distance the car will travel in 5 hours.
The distance the car will travel in 8 hours.
The distance the car will travel in 12 hours.