Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The following array contains a list of singers: string singersList[39] = {Freddie Mercury, Brian May, Eminem Mathers, Beyonce Knowles, Cardi B, Shawn Mendez, Taylor Swift,

The following array contains a list of singers:

string singersList[39] = {"Freddie Mercury", "Brian May", "Eminem

Mathers", "Beyonce Knowles", "Cardi B", "Shawn Mendez", "Taylor

Swift", "Iggy Azalea", "Mac Miller", "Macklemore", "Kid Rock", "Lil

Wayne", "Nicki Minaj", "Pitbull", "Daddy Yankee", "Drake Graham",

"Kanye West", "Chris Martin", "Ariana Grande", "Camila Cabello",

"Harry Styles", "Kendrick Lamar", "Dr. Dre", "Chance the Rapper",

"The Weeknd", "Frank Sinatra", "Elvis Presley", "John Lennon", "Paul

MCCartney", "George Harrison", "Ringo Starr", "Lady Gaga", "Mariah

Carey", "Justin Bieber", "Katie Perry", "Michael Jackson",

"Rihanna", "Bruno Mars", "Billie Eilish"};

Write a C++ program that will find and display the singer(s) with the shortest name. If there is more than one, you should display them all.

No need to use functions for this problem. You can do everything on the main function.

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 Administrator Limited Edition

Authors: Martif Way

1st Edition

B0CGG89N8Z

More Books

Students also viewed these Databases questions