C++: Programming Problem - Print Parallelogram
Name __________________________________
(10 points)
Write a program which reads an int, then prints
a parallelogram with edges that are that size. For example,
when it reads the number 5, the output would be
*****
*****
*****
*****
*****
Hints
- This is most easily solved using nested for loops (the outer loop for the row,
and loops inside for the column.
- Each row will has one more blank
at the beginning than the previous row.
You can use a for loop to print the blanks, then
a for loop to print the stars.