Question: Read string full _ name from input that consists of a three - letter first name, a space, and a last name. Then assign first
Read string fullname from input that consists of a threeletter first name, a space, and a last name. Then assign firstnameinitial with the first letter of the first name and lastnameinitial with the first letter of the last name.
Click here for example
Ex If the input is Rob Beck, then the output is:
Initials:
Note: Assume the first name will always be three letters long.
fullname input
printInitials: firstnameinitial lastnameinitial
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
