From be8e7c8bd11c0f2fefdbaba51d0509ed442297ee Mon Sep 17 00:00:00 2001 From: Kiran PP <58929890+7h3h4ckv157@users.noreply.github.com> Date: Mon, 29 Aug 2022 13:01:27 +0530 Subject: [PATCH] Update FCFS.c --- FCFS.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/FCFS.c b/FCFS.c index cbf009e..173f4ee 100644 --- a/FCFS.c +++ b/FCFS.c @@ -3,7 +3,8 @@ int main() { int n,j,i; printf("Enter the no. of processes:"); - gets(); + printf("enter no of proccess you want:"); + scanf("%d",&n); int a[n],bt[n],tat[n],wt[n],ct[n],at[n]; float awt,wts=0; printf("enter burst time:");