Skip to content

Practice java project; booking system for European trains

Notifications You must be signed in to change notification settings

dukeofdisaster/Trains

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Trains

Practice java project; booking system for European trains

Time class-- Needs debugging; Initially overcomplicated the time conversions with tons of variables. The driver still outputs accurate data, however the time can be simplified. Ex: int totalMinutes = 170; int hours = minutes/60; // returns 2 due to integer division int minutes = totalMinutes % 60;returns 50, the remainder. The current code still has heavy complications within the addMinutes() method from the Time class.

About

Practice java project; booking system for European trains

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages