How can I repeat a line several times, several times? I know that I can use a for loop, but I would like to repeat the line xtimes per row, over nrows.
For example, if the user enters 2, the output will be:
@@
@@
@@
@@
Where xequal to 2, and nequal to 4.
source
share