Skip to content

AkdanGTech/Speed-Detector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Speed-Detector

This is a Speed Detector program that takes the input of the speed of a car e.g 80 km/s. If the speed is less than 70, it should print “Ok”. Otherwise, for every 5 km/s above the speed limit (70), it should give the driver one demerit point and print the total number of demerit points. For example, if the speed is 80, it should print: “Points: 2”. If the driver gets more than 12 points, the function should print: “License suspended”.

About

Speed-Detector

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published