-->

Header Ads

Pyramid Program 1

C Program:

#include<stdio.h>

#include<conio.h>

void main()

{

int i,j;

clrscr();

for(j=0;j<5;j++)

{



for(i=0;i<8;i++)

{

printf("*");

}

printf("\n");

}

getch();

}

Output of c program:


No comments

Powered by Blogger.