FCFS
FCFS
h>
struct Process {
int pid; // Process ID
int burst_time; // Burst Time
int waiting_time; // Waiting Time
int turnaround_time; // Turnaround Time
};
findWaitingTime(proc, n);
findTurnaroundTime(proc, n);
int main() {
int n;
printf("Enter the number of processes: ");
scanf("%d", &n);
findAverageTime(proc, n);
return 0;
}