hello, all i am new to the site and heard from a friend that it is a very wonderful place to get help. i am stuck with some programming and i really need help. please help me here is the problem :

I want to write a program of two functions. One is add time function and the other one is minus time function. The main
function will call add time and minus time function according to the condition in its own. The program should be like this:

I want to write a program of two functions. One is add time function and the other one is minus time function. The main
function will call add time and minus time function according to the condition in its own. The program should be like this: (attached file)