Think about it. I don't know about you, but I wouldn't want to do it this way. Think about later in the program. This is clearly not what we want. There is another way.
Arrays are combinations of variables with the same name.
This array holds 10 integers. Index starts at 0 and goes up to 9 in this case. Let's briefly discuss an array of type char . An array of characters is called a string. Since the char variable type only means one keyboard character, we need to have a way of displaying a word or a sentence.