The document contains C++ code that uses nested for loops and if/else statements to print different patterns of the letter J and spaces. It prints 6 patterns in total by varying the loop bounds and conditional logic for each pattern.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
30 views2 pages
Jelly
The document contains C++ code that uses nested for loops and if/else statements to print different patterns of the letter J and spaces. It prints 6 patterns in total by varying the loop bounds and conditional logic for each pattern.