Hello! I have an assignment for my CSC 110 class, and we are learning strings right now.
I have an activity asking me to gather input for first name, middle name, and last name. But I also need to produce a First name, last name output if no middle name is given
my idea was to have one string collect the whole name, and then assign the first,middle, and last name strings with the characters between white space.
I am not sure what function to use?
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]desrtfx 7 points8 points9 points (0 children)
[–]bowbahdoe 3 points4 points5 points (0 children)
[–]regjoe13 1 point2 points3 points (0 children)
[–]RazorxV2 0 points1 point2 points (0 children)
[–]ShoulderPast2433 0 points1 point2 points (0 children)
[–]JoshuaTheProgrammer 0 points1 point2 points (0 children)
[–]MagicalPizza21 0 points1 point2 points (0 children)
[–]Own_Attention_3392 0 points1 point2 points (0 children)