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