+ 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!!!!!!!!!
11 Antworten
+ 2
Here's mine in C++,
https://code.sololearn.com/c4A27DOBemg9/#cpp
+ 1
Aaron Stone, sorry but where is the full name?
+ 1
Andrew Caldwell, sorry but let me remind you that you cannot ask the user's first name.
0
Ok ! I'll show that in my code then
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
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.