I am trying to combine two functions in one program. I have them in separate and have no idea how to combine them into one. Your help would be most appreciated!!
suggest give the second function what it expects...namely hours from the first function and km from the body of the second main.....(not velocity km/hr)
Thank you for the response sir. But I do not understand what you mean. I am sorry as I am a newbie here. Currently this program outputs as follow for Function No.1:
Enter HH:MM:SS :
>23:59:59 //this is what I input
ok //this is the output
And the Function No.2 outputs as follow:
Enter km/hour :
>50/2 //this is what I input
ok //this is the output
Above is the output when both this program are run separately. But I need both the function work on one single program as follow:
Enter HH:MM:SS :
>23:59:59 //this is what I input
ok //this is the output
Enter km/hour :
>50/2 //this is what I input
ok //this is the output
Please help as the above example. Thank you very much.