Tuesday, January 4, 2011

PRINT STARS

WAP TO PRINT STARS ON SCREEN
void main ()
{
int i,j;
clrscr();
for (j=1;j<4;j++)
{
for (i=1;i<=5;i++)
{
printf ("*");
}
printf ("\n");
}
getch ();
}

No comments:

Post a Comment