A Pascal program is developed to allow arbitrary number of jobs in the system and arbitrary number of I/O devices. The recursive solution is not considered because of storage limitation. The iterative solution method, based on Markov process is applied [1,3].