Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using OOP, write a C++ program that will read in a file of names. The file is called Names.txt and should be located in the

Using OOP, write a C++ program that will read in a file of names. The file is called Names.txt and should be located in the current directory of your program. Read in and store the names into an array of 30 names. Sort the array using the selection sort or the bubblesort code found in your textbook. List the roster of students in ascending alphabetical order.

Projects using global variables or all code is in main() will result in a grade submission of 0.

List of names in Names.txt:

Jackie

Sam

Bill

Tom

Mary

Paul

Zev

Barb

John

Sharon

Dana

Dominic

Steven

Padro

Katey

Kathy

Darius

Angela

Mimi

Jesse

Kenny

Lynn

Hector

Brittany

Jenn

Joe

Chloe

Geena

Sylvia

Dean

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

OpenStack Trove

Authors: Amrith Kumar, Douglas Shelley

1st Edition

1484212215, 9781484212219

More Books

Students also viewed these Databases questions

Question

KEY QUESTION Refer to Figure 3.6, page

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago