I don't know if I'm doing his/her homework, he just ask the sleep function and i don't know the syntax of it. So i suggest to make her own sleep function like what i always did in every language
@CodeLearner "i always did in every language". Perhaps you can give me a hint on its algorithm? and also, either I am a boy or a girl so make up your mind. Thanks for your help so far, but you are making me confused as much as you.