How to printing out certain values of an array : I'm working on a program which requires the input/output of multiple data types, including a char which stands for the type of sport a patron is making a reservation for, an int which represents their age, and a double that is the output based on the patrons age and sport they want to reserve a spot for, which represents their insurance rate.
So, the logic of the program simplified is Enter program --> choose to add a reservation --> enter sport using a char --> enter age using an int --> compute the insurance rate given those circumstances and return it to display to the user.
I will be using arrays for the char, storing the sport they wish to partake in, an array for the age, an index integer which will keep track of which spot in the array that the user is entering the data into, and I might need to make an array for the insurance rate.
Anyways, TL;DR how can I say, access the specific elements of an array to print out something like "a patron the age of patron_age[index] reserved a session of sport_type[index]" in a function based off of which sport the user is requesting to see information on? I'm really lost.
Here's the code if that helps. It's nowhere close to done yet.

http://pastebin.com/t0citrGE