I am trying to write a program with two separate arrays in it. In the first array I will store all my Dads clients names. In the second array I will store all their address. If I wanted to do this how would I go about storing the arrays so that when I display them later in the program they display in alphabetical order.
I know how to make the arrays, but I do not no how to store them or display them in alphabetical order
I am also going to make the arrays [20] each but if there are less then 20 clients being entered i would like to be able to stop the loop when the user enters a certain key term such as "stop" Would i be able to do this with an if statement. If name = 'stop' break. Or something like that.
I am new to c++ and i'm trying so thanks so much for any help