its aight.. i got it..
i didnt fully understand the task i was given..
i had to use a simple loop..that at the end asks the user if he wants to continue or not.. and within the loop i had to ask the user for their name. salary time in time out..calculate the difference. and output the results..and all over again..