I am working on a program that creates a Robot using a class. I am trying to create a function that will allow the robot to simulate sleeping for n seconds. I am unsure how to create this function though. I want the function to make the program pause for n seconds and that is all. Also, I'd like to make a function that will allow the robot to do some work that I have predefined as one of five tasks and I know how long each task will take to complete. How can I make a function for that which would complete the task and then output that the robot has completed whatever task was assigned to it? Any help with these two functions would be wonderful.