i am having difficulty to run the program creating star, actually 1-4th of a star.if anyone could find out the error in codes, i would be grateful. my code is:
#include<stdio.h>
#include<conio.h>
int main()
{
int a,b,c,n;
scanf ("%d",&n);
for(a=0;a<=n;a++)
{ for (b=n;b<=0;b++) printf (" ");
for (b=0;b<=n;b++) printf ("*");
}
}