Write a python program to print pattern square and rectangle using nested for Loop.
Someone Please Help
Answers
Answered by
0
Answer:
Input number of rows and columns.
For rows of rectangle run the outer loop from 1 to rows. for (i = 1; i < = rows; i++)
For column of rectangle run the inner loop from 1 to columns. for (j = 1; j < = columns; j++) ...
After printing all columns of a row, print new line after inner loop.
Similar questions
Economy,
3 months ago
Biology,
3 months ago
Hindi,
3 months ago
Computer Science,
10 months ago
Math,
10 months ago