Skip to content

It calculates how long the vehicle went in the speed corridor by taking the time the vehicle entered the speed corridor and the time it exited the speed corridor. In this way, it calculates the speed of the vehicle with the formula distance = speed x time and applies a penalty if it exceeds the speed limit.

Notifications You must be signed in to change notification settings

iXenonN/Speed-Corridor-Penalty-System-GoLang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Speed-Corridor-Penalty-System-GoLang

It calculates how long the vehicle went in the speed corridor by taking the time the vehicle entered the speed corridor and the time it exited the speed corridor. In this way, it calculates the speed of the vehicle with the formula distance = speed x time and applies a penalty if it exceeds the speed limit. It creates a file called penalty.txt and writes the license plate number and speed of the penalized vehicles.

About

It calculates how long the vehicle went in the speed corridor by taking the time the vehicle entered the speed corridor and the time it exited the speed corridor. In this way, it calculates the speed of the vehicle with the formula distance = speed x time and applies a penalty if it exceeds the speed limit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages