Priority Scheduling - Online Code

Description

C Language: This is the code implementation of Priority Scheduling Algorithm of CPU Scheduling

Source Code

#include<conio.h>
void main()
{	int i,j,temp,a[15],b[15],p[15],n;
	float k,sum,avg_wait,avg_tat;
	clrscr();
	printf("\nEnter the no. of processes=");
	scanf("%d",&n);
	for(i=0;i<n;i++)
	{	printf
... (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 Jain on 2011-04-24 19:48:59 wrote,

Thanks a lot!!!