Answers for "code to print pyramid in c"

C
1

half pyramid in c

#include <stdio.h>
#define N 5
int main()
{
	int i,j;
	for(i=1;i<=N;i++)
		{
  			for(j=1;j<=i;j++)
    		printf("*");
  
  		printf("n");
		}
  return 0;
}
Posted by: Guest on November-10-2020

Code answers related to "code to print pyramid in c"

Code answers related to "C"

Browse Popular Code Answers by Language