Star Print Problem Using Swift For-Loop - Q.01

@JohnBlackburne

Thank you for your comments.

I also have Question02 here:

The teacher asked me to use For-Loop to print the stars,
and need to input “Y” to determine the rows of stars.

Actually, I can’t solve the problem for Question02.

May I ask you to give me some suggestions on Question02 ?

Thank you.