Write a C++ program to generate all strings using A, B, and C as the letters.
The strings must be generated in the following order:
A
B
C
AA
AB
AC
BA
BB
BC
CA
CB
CC
AAA
AAB
AAC
ABA
ABB
ABC
ACA
ACB
ACC
BAA
etc.
Implement the client program. The program should keep on going until your data structure overflows. At that point, print out all the remaining elements from the queue by using displayAll().