Ok, I'm doing this assignment, and I have to have a string variable with 5 names in it. Ok, so naturally I think of a 5 dimention array, like this:
names[5][20]
Or something. Ok so he says we can only use one array variable, but I'm having trouble. I read that you can't re-assign values to a string once it was defined, but that you can initialize it right away. So can anyone tell me how to get these names into a single string variable upon definition?
Larry Lister
Sue Sales
Eva Escrow
Morley Money
Pete Profit