C program to implement the Disk Scheduling algorithm for Shortest Seek Time First
It seems reasonable to service all the requests close to the current head position before moving the head far away to service other requests. This assumption is the basis for…