/*Pascal shape*/
#include<stdio.h>
#include<conio.h>
main()
{
int i,j;
clrscr();
for(i=1;i<=5;i++)
{
for(j=i;j<5;j++)
printf(" ");
for(j=1;j<=2*i-1;j++)
printf("*");
printf("\n");
}
getch();
}
there is some good c ,java, sql and vb6 programs,Windows tricks, sms shorthand etc
No comments:
Post a Comment