How to write a C Program nested for in C Programming Language ?
Solution For C Program:/*C Program : nested for*/
#include <stdio.h>
int main(){
int n;
scanf("%d", &n);
int j;
for( j = 1 ; j <= n ; j++ ){
int i;
for( i = 1 ; i <= j ; i++ ){
printf("*");
}
printf("\n");
}
return 0;
}