C program to print different patterns



 











Output:-

1
22
333
4444

Comments