Question: Using string functions and all other programming features discussed in the class, write a program that will prompt a user to input their name (first
Using string functions and all other programming features discussed in the class, write a program that will prompt a user to input their name (first and last). Ex: Please enter your first and last name: John Doe Then, output the string. Next, prompt the user to input their nickname. Ex: Enter your nickname: Rowdy Then modify the name string to consist of the persons last name comma, nickname (in all caps, enclosed in double quotes) and first name. Then output the modified string. Ex: Doe, ROWDY John Bonus (+10) Output first and last name alternating each character: John Doe Ex: JDoohen Tim Wheaterton Ex: TWihmeaterton NOTE: This program should loop, prompting the user to decide whether or not he or she wishes to enter another name. Ex: Do you wish to enter another name(y/n)?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
