W.A.P to print the Following outputs using for loops.

W.A.P to print the Following outputs using for loops.

A. 

Output :

 1
  2 3
4 5 6
7 8 9 10




B. 

Output :

1
2 2
3 3 3
4 4 4 4

Post a Comment

0 Comments