We want to write a C++ program that models the Round Robin approach used in scheduling processes in an operating system. In this exercise, we suppose that we have 5 processes that have arrived in the following order: A, B, C, D, and E. Write a C++ program that asks the user to give the length of the CPU burst time of each process (burst times are given in milliseconds). The program will display each time the name of the process that was executed. For example, if the user enters the burst times 5, 4, 6, 3, and 2 for A, B, C, D, and E respectively then the program will display: A B C D E A B C D E A B C D A B C A C C
Comments
Leave a comment