question archive Option 1: Sorted Phone List Write C++ program that prints a sorted phone list from a database of names and phone numbers

Option 1: Sorted Phone List Write C++ program that prints a sorted phone list from a database of names and phone numbers

Subject:Computer SciencePrice:6.86 Bought8

Option 1: Sorted Phone List

Write C++ program that prints a sorted phone list from a database of names and phone numbers. The data is contained in two files named "phoneNames.txt" and "phoneNums.txt". The files may contain up to 2000 names and phone numbers. The files have one name or one phone number per line. To save paper, only print the first 50 lines of the output.

Note: The first phone number in the phone number file corresponds to the first name in the name file. The second phone number in the phone number file corresponds to the second name in the name file. etc. You will find the test files in the Asn Five.zip 

 

EXAMPLE OUTPUT:

A Ablon             614-604-2400

A Bender             925-480-3800

A Emmerson           530-367-7000

A King              582-436-7724

A Meyerson           213-840-5000

A Perenchio          310-558-6868

Aart DeGeus          850-982-5000

Aileen Adams         918-853-2838

Ake Persson          757-332-5000

Akop Pogosyan        717-669-8450

Al Carter            909-599-8676

Alan Austin          850-493-9300

Alan Bersin          819-625-6580

Alan Dachs           415-274-7500

Alan Fohrer          949-652-5577

Alan Karp            614-542-3355

Alan Lowe            407-282-8600

Alan Rasmussen       209-375-8800

Alexander Lidow      310-322-3331

Alexis Lodde         606-783-7970

...

 

End program.

 

Option 1

Low Cost Option
Download this past answer in few clicks

6.86 USD

PURCHASE SOLUTION

Option 2

Custom new solution created by our subject matter experts

GET A QUOTE

rated 5 stars

Purchased 8 times

Completion Status 100%