// printPattern(1) + 2 times star and a newline + 3 times star and a newline // printPattern(0) + 1 times start and a newline + 2 times star and a newline + 3 times star and a newline ...