forming an letter X asterist pattern problem

i can't figure out what to do...
i only have this code...
#include <conio.h>
#include <stdio.h>

int d;

main (void)
{
clrscr();
for (d=0;d<=9;d++)
{ gotoxy (d+1,d+1);
printf("*");
}
getch();
return 0;
}

what about the other diagonal line... thanks in advance for the help... :P
Topic archived. No new replies allowed.