Skip to content

Instantly share code, notes, and snippets.

View ayush-0101's full-sized avatar

Ayush Gupta ayush-0101

View GitHub Profile
@ayush-0101
ayush-0101 / RoundRobin.c
Last active October 13, 2022 16:12
A simple simulation of Round Robin CPU Scheduling Algorithm in C
#include <stdio.h>
#include <limits.h>
struct process
{
int pid,arr_t,exec_t,rem_t,end_t;
};
typedef struct process P;
int front = -1;