The date should be keyed in by the user (as a string) once only.
The date that keyed by the user need to be print at other 2 function.
What is the solution ? Sorry for bad English.
The date should be keyed in by the user (as a string) once only.
The date that keyed by the user need to be print at other 2 function.
What is the solution ? Sorry for bad English.
You apparently asked the same question here
Return date (a string value) to function
And you apparently solved it as well.
So what's the sudden difficulty now?
> Sorry for bad English.
We can usually get a much clearer idea of what you need when you have code to look at as well.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.