Lesson 6 of 24
Nested Loops: Patterns
9 min 30 XP
പുറത്തെ loop rows, അകത്തെ loop columns കൈകാര്യം ചെയ്യുന്നു. string(n, '*') n stars-ന്റെ string ഉണ്ടാക്കുന്നു, ഇത് patterns എളുപ്പമാക്കുന്നു.
Example: edit me and press Run
Output Loading C++ (first time takes a few seconds)
Press Run to see the result here.