高响应比调度算法(c语言程序实现).docxVIP

  • 49
  • 0
  • 约2.65千字
  • 约 3页
  • 2020-07-16 发布于江苏
  • 举报
//高响应比调度算法 #includestdio.h #includestdlib.h struct zgxyb{ char name[10]; float arrivetime; float servicetime; float starttime; float finishtime; float zztime; float dqzztime; }; struct zgxyb a[100]; void input(struct zgxyb *p,int N) { int i; printf(intput the processs name arrivetime servicetime:\nfor exmple: a 0 100\n); for(i=0;i=N-1;i++) { printf(input the %dth processs information:\n,i+1); scanf(%s%f%f,p[i].name,p[i].arrivetime,p[i].servicetime); } } void Print(struct zgxyb *p,float arrivetime,float servicetime,float starttime,float finishtime,float zztime,float dqzztime,int N) {int k

文档评论(0)

1亿VIP精品文档

相关文档