Horje
c programming print pattern pyramid Code Example
c programming print pattern pyramid
#include <stdio.h>

int main()
{

int rows, columns,i,j;
printf("Enter the number of rows : ");
scanf("%d", &rows);
printf("Enter the number of columns : ");
scanf("%d", &columns);

printf("\n");

/* print solid rectangle*/

for (i = 1; i <= rows; i++)
{
      for (j = 1; j <= columns; j++)
       {
             printf("*");
       }
      printf("\n");
}
return 0;
}




C

Related
tytykjtuky Code Example tytykjtuky Code Example
under Code Example under Code Example
how to find folders from a c program Code Example how to find folders from a c program Code Example
if else check' Code Example if else check' Code Example
C Program to calculate the total execution time of a program Code Example C Program to calculate the total execution time of a program Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
9