Process
Process
using System.Collections.Generic;
using System.Runtime.ConstrainedExecution;
class Process
{
public int PID { get; set; }
public int arrivalTime { get; set; }
public int burstTime { get; set; }
public int completionTime { get; set; }
public int turnaroundTime { get; set; }
public int waitingTime { get; set; }
}
class SJF
{
static void Main(string[] args)
{
try
{
List<Process> processes = new List<Process>();
processes.Add(process);
}
int currentTime = 0;
List<Process> processing = new List<Process>();
int index = 0;
if (processing.Count == 0)
{
}
}
else
{
currentTime = process.completionTime;
}
}
double totalTurnaroundTime = 0;
double totalWaitingTime = 0;
Console.WriteLine();
Console.Write($"0".PadRight(4));
}
}