What should this algorithm do? Round Robin is a way of selecting something one particular instance of something out of many. Without further information of what "something" is in your case, it's hard to advise how to proceed.
By the way, I have removed the email address from you post, because we like to keep discussions in these forums.
Also, we do not do homework for people. It's for you to do so that you learn something. Nobody here is going to write the code for you; instead, describe where you are stuck implementing it, and we'll help you get going.
Thanks for reply algrothim is that you have five function each function come and execut not full but then secon then third after five it is turn bck to frist and first fuction start from where i stoped then find out total wait time of each function and average wait time this is the logic thanks or you can say round robin time scheduling algrothims in other words