i have to print specific pattern using Java for loop . Input will be 4 characters eg.
a, b , c, d
now what i have to print is
aaaa
aaab
aaac
aaad
aaba
abbb
aabc
And so on.. i have tried some pyramids codes in java
and understand to code nested for loops
, but really getting no idea how to print this , Please guide me how i can achieve this . Thank You
guide
him :)