Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 lookStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started