Scheduling algorithm

Submitted by khimosaby on

Hi i would like some help with my project.. its just an html project where in there are 3 kinds of scheduling algorithm. I just need a code for the prompt box where in you will enter number of process and then will ask for the

1. Process name

2.Burst Time

3.Arrival Time

in line with the total of number of process inputed

for example: 1st prompt >> prompt("Enter number of Process") let say #2

prompt("Enter Process name:) >>a

prompt ("Enter Burst Time:)>> 2

Prompt ("Enter Arrival Time:)>>1

 

prompt ("Enter Process name:")>>b

Prompt("Enter Burst Time")>>3

prompt("Enter Arrival Time:")>>2

 

Output:

Process name       Burst Time      Arrival Time

a                      2                      1

b                     3                     2

 

There is computation but I will figure that outbut if you have any codes for that I appreciate it Tnx for the help!