The Round-robin scheduling algorithm is a kind of preemptive First come, First Serve CPU Scheduling algorithm where each process in the ready state gets the CPU for a fixed time in a cyclic way (turn by turn). This program get the number of data and after that get data from console .at the end it show Average Waiting Time and Average Turnaround Time of them in the algorithm.