+ 5

[Challenge] Make a program that outputs the first name and the full name from the full name.

Make a program that asks the full name from the user and outputs the first name and the full name from it. RULES: 1) The program must not ask user his/her first name. BEST OF LUCK!!!!!!!!!

1st May 2018, 3:37 PM
SomeOne
11 Respostas
1st May 2018, 3:48 PM
Aaron Stone
Aaron Stone - avatar
1st May 2018, 3:44 PM
SomeOne
+ 1
Aaron Stone, sorry but where is the full name?
1st May 2018, 3:55 PM
SomeOne
1st May 2018, 5:55 PM
Markus Kaleton
Markus Kaleton - avatar
1st May 2018, 11:13 PM
Poppolindo
Poppolindo - avatar
+ 1
Andrew Caldwell, sorry but let me remind you that you cannot ask the user's first name.
2nd May 2018, 12:09 AM
SomeOne
0
Ok ! I'll show that in my code then
1st May 2018, 3:57 PM
Aaron Stone
Aaron Stone - avatar
0
In C++ Alright u got me, I have updated the code. The program should suffice for the intended purpose. I have also added another method. First method https://code.sololearn.com/cp2Xf8yDoKjH/#cpp Second method https://code.sololearn.com/cjItg9mCKHz0/#cpp
3rd May 2018, 2:03 AM
Tebo Waserame
Tebo Waserame - avatar
0
Tebo Waserame, I see what did. If I type "Siam Sami", then it works perfectly. It shows my full name and the first name. However, if I type "Siam Sami Ratul", then it doesn't show my full name.
3rd May 2018, 3:41 PM
SomeOne
1st May 2018, 7:36 PM
Andrew Caldwell
Andrew Caldwell - avatar