Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Code block c++,, help plz!! Exercise#2: which name shall appear last on a list? Using loops, write a program to prompt the user for several

Code block c++,, help plz!! image text in transcribed
Exercise#2: which name shall appear last on a list? Using loops, write a program to prompt the user for several names ending wit shall appear last on a list (based on alphabetical order). For example, if the input is: "Ahmed F the output should be "Salem" because if the names are sorted, "Salem" shall appear h "#"and then to display the name that Note: first letter of any name is kept in upper-case. Sample Input/Output: Enter a sequence of names ending wit aisal Ali Batool Salem Saeed # alen shall appear 1ast on the list. nter a sequence of names ending with 1i Alya Alaa Ameera Amal Ab del rahman Ameer Abrahim # Ameera shall appear last on the list

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_2

Step: 3

blur-text-image_3

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

Relational Database Technology

Authors: Suad Alagic

1st Edition

354096276X, 978-3540962762

More Books

Students also viewed these Databases questions

Question

Solve for x. -4+log3(x+1)=-3

Answered: 1 week ago