write a c++ program Rate Monotonic algorithm for a task and check if the task scheduled or not if is not show when it miss the deadline.
printf("\n Enter Number of Processes :: ");
scanf("%d",&n);
for(i=0;i<n;i++)
{
//clrscr();
printf("\n Enter Execution Time for P%d ::",(i+1));
scanf("%f",&e[i]);
printf("\n Enter Period for P%d ::",(i+1));
scanf("%f",&p[i]);
}
Comments
Leave a comment