Shortest Job First - Online Code

Description

it is prog. of CPU scheduling algo i.e. Shortest Job First.

Source Code

#include <conio.h>
void main()
{	int n,i,j,a[10],b[10],temp;
	float sum,avg_wait,avg_tat,k;
	clrscr();
	printf("\nEnter the no. of processes=");
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{	pri
... (login or register to view full code)

To view full code, you must Login or Register, its FREE.

Hey, registering yourself just takes less than a minute and opens up a whole new GetGyan experience.




Comments

rahul agarwal on 2011-02-14 18:59:47 wrote,

repeat

kevin ogario on 2011-03-20 00:54:38 wrote,

is this a c PL?