Thanks all, it works.
I did not understand ( I told you I just study C myself and I did not encounter this problem before).
Sorry for your time.
Problem solved.
Type: Posts; User: suyaku92
Thanks all, it works.
I did not understand ( I told you I just study C myself and I did not encounter this problem before).
Sorry for your time.
Problem solved.
first, the result I posted after run the solution is NOT CHANGED after I changed gets to scanf (follow your 1st instruction)
second, i do not know how to follow 2nd instruction so i asked you again...
The code I posted first time is the lastest !
But if I empty the string answer, how can I join the three parts of the name?
When I tried to run the solution, it appeared like this:
Enter your first name: suyaku // I entered suyaku
Enter...
I am studying C my self and trying to do some exercise.
The exercise requires 2 functions, one to takes three parameters (one string holds questions, one string holds user 's answers, and one...