HI
can u plz help me with this?
#include<stdio.h>
#include<conio.h>
void main ()
{
int i,j;
printf ("\t*");
for (i=2; i<=5; i++)
{
i=i+1;
printf ("*",i);
for (i=3; i>=1; i--)
{
printf ("*");
}
printf ("\n");
}
getch();
}
its suppose to give an output in the form of diamond made of *
but its not...
plzz help....