Witam,
Znalazłem takie zadanie i szczerze mówiąc nie mam pojęcia jak to zrobić bez pętli.
// Create a function makeRectangle that will print an m by n rectangle of * to the screen
// For example, makeRectangle(3,5) should print a 3 by 5 rectangle of *, as shown below:
// * * *
// * * *
// * * *
// * * *
// * * *
// Don't use loops for this one! :)