Skip to content

Instantly share code, notes, and snippets.

View hatim-the-dark-knight's full-sized avatar
😂

Farhath Sulthana hatim-the-dark-knight

😂
View GitHub Profile
// PRIORITY CPU SCHEDULING
#include<stdio.h>
struct pris {
int pid, pri, atime, btime, ctime, wtime, tatime;
short check;
};
void main () {
// SJF CPU SCHEDULING
#include<stdio.h>
struct pris {
int pid, atime, btime, ctime, wtime, tatime;
short check;
};
void main () {
#include<stdio.h>
#include<stdlib.h>
struct rrs {
int pid, atime, btime, tempb, ctime, tatime, wtime;
short isTraversed;
};
void main () {