How can I repeat a string multiple times, multiple times? I know I can use a for loop, but I would like to repeat a string x
times per row, over n
rows.
For example, if the user enters 2
, the output would be:
@@
@@
@@
@@
Where x
equals 2, and n
equals 4.