Skip to content

Latest commit

 

History

History
14 lines (13 loc) · 804 Bytes

README.md

File metadata and controls

14 lines (13 loc) · 804 Bytes

NEAREST POLICE STATION FINDER


A C Program To Find The Nearest Police Station And Tell The Shortest Route To Reach The Required Location Of A Hypothetical City (Based On Dijkstra's Algorithm) In this project I tried to make code a program which can find nearest police station from a location and tell the shortest path to reach there.I used dijkstra’s algorithm for searching shortest path and distance of that path. I have used an imaginary map of a locality in which there are 9 houses and 3 police stations. This idea can be extended to more number of houses and police stations

MAP OF CITY USED


OUTPUT