Question: I need some help with C++ im using The Atom program 4. String Manipulation. a) Create three string variables: firstname, and lastname b) Ask user

I need some help with C++ im using The Atom program
 I need some help with C++ im using The Atom program

4. String Manipulation. a) Create three string variables: firstname, and lastname b) Ask user to enter the firstname and lastname. c) Concatenate the values of firs in the middle and store in the third variable fullname. (such a "John Smith") d) Output the variable fullname to the console. e) Output the length of the fullname variable. f) Ask user to enter middle initial, and store in middle variable. tname and lasname with a space g) Use string functions to insert a middle initial into the full name variable including spaces (such as "John H Smith"). g) Output the updated fullname variable h) Finally output the initial of the full name (such as J.H.s.) Example Output (input in bold italics Enter your first name: John Enter your last name: Smith Your full name is John Smith Length: 10 Enter your middle initial: H Your full name is John H Smith Your Initials name is J.H.S

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!