Nested for Loop in C Programming Language

C Programming Language / Loop control in C Language

1000

Program:

#include<stdio.h>
void main()
{
int i;
int j;

for(i = 1; i<=3; i++){
	
  for(j = 1; j<=3; j++){
    printf("Welcome "); 
   }
   
  printf("\n"); 

}
  
}

Output:

Welcome Welcome Welcome
Welcome Welcome Welcome
Welcome Welcome Welcome
Press any key to continue . . .

Explanation:

None

This Particular section is dedicated to Programs only. If you want learn more about C Programming Language. Then you can visit below links to get more depth on this subject.