Question: Problem C3 Prompt the user to type a first and last name in one line. Read and save the first character in the first name

Problem C3

Prompt the user to type a first and last name in one line. Read and save the first character in the first name and omit the rest of the first name. Read and save the first character in the last name and omit the rest of the first name. Print these initials.

Hint: Read the first character, then read the rest of the first name as a string, then read the next character. Only print the two characters.

Test the program with the name: Harry Truman

* I use codelab(C++)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!