Geek-aka-hostler(Array)

Geek-aka-hostler(Array)

This program requires you to use the concepts of file reading, parallel arrays and sorting.

You are to create a text file with the following information:

Robert 82
John 98
Rebecca 88
Steven 76
Jennifer 90
Hannah 80
Fred 64
Maria 77
Casey 97
Robyn 83

As you can see there are ten (10) items here. 

Your program should read the string content into a string array and the integer content into an integer array.  You need to sort the integer array in descending order (using whatever sort algorithm you chose) and match the string parallel array so that the data appears on the screen in descending order.

e.g.

John        98
Casey       97
Jennifer    90

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"FIRST15"

Order Now