Answered step by step
Verified Expert Solution
Link Copied!

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,

image text in transcribedCan 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

Students also viewed these Databases questions