A
Ap
App
Appl
Appli
Applic
Applica
Applicat
Applicati
Applicatio
Application
Application
Application o
Application of
Application of
Application of C
Application of C+
Application of C++
Press any key to continue . . .
The code is correct so far.
However, in the void printPattern(), I have to specify that i<19.
So every time i change the word in string1[], I have to change the number in my void printPattern().
Is there a better way to do it such that I do not need to specify that i<19?