HI....to all members of daniweb...I am looking for code of RR Shceduling using JAVA... I am grateful if somebody would like to help me to it...and tanks "nalang daan"!!! from PHillippines
mragot
0
Newbie Poster
Recommended Answers
Jump to Post//This code is in C but you can convert it easily #include<stdio.h> #include <unistd.h> #define k 4 main() { int numElements,nu=0,i=0,j; int cpu[k],arrival[k],start=0,finish[k],cpu1[k],turn[k],arrival1[k],t,me; int m = 0,wait [k]={0,0,0,0},y; printf("Please enter the CPU Cycles:\n");//println getnumbers(cpu); printf("Please enter the Arrival Times:\n"); getnumbers(arrival); copyelt(cpu,cpu1); copyelt(arrival,arrival1); for(i=0;i<k;i++){ } i = 0; …
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.