Algorithm FCFS, based on time of arrival, less runs, and if the time of arrival all one program earlier, which runs execution time less necessary.

This algorithm with the language vb.net written.