Challenge: Print a Parallelogram Pattern

Here is a coding challenge based on the use of for loop to print a parallelogram pattern.

We'll cover the following

Problem statement #

Use one or more for loops to print the # character as needed to produce a parallelogram pattern in five lines.

Input #

Rows = 5; // height of parallelogram
Cols = 8; // width of parallelogram

Output #

Get hands-on with 1400+ tech skills courses.