Tuesday, August 28, 2007

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