Question: Can this please be done in C! ASSIGNMENT: Write a program that asks the user for 2 names and displays which name has more characters,

Can this please be done in C! ASSIGNMENT: Write a program thatCan this please be done in C!

ASSIGNMENT: Write a program that asks the user for 2 names and displays which name has more characters, which name would come first alphabetically, and finally convert the last character in the first name to uppercase. When constructing the program, account for the names being equal in length. Example Run \#1: (bold type is what is entered by the user) Enter your first name: George Enter your partner's first name: Billy George is the longer name. The name that comes first alphabetically is Billy. George with the last character converted to uppercase is GeorgE. The example run shows EXACTLY how your program input and output will look. Example Run \#2: Enter your first name: Scott Enter your partner's first name: Billy The 2 names, scott and Billy, are equal lengths The name that comes first alphabetically is Billy. Scott with the last character converted to uppercase is ScotT. The example runs shows EXACTLY how your program input and output will look

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!