to make things short, here it is:
for(int i = 0; i < 25; i++)
{
if(i == 24)
{
printf("Press enter to continue");
getchar();
break;
}
for(int j = 0; j < 80; j++)
{
if(i%input == j%input)
{
printf("*");
}else
printf(" ");
}
}
the input you put is to print the distance between each stars horizontally and vertically..
so far i did the \ shape, i dont know how do i suppose to do the shape of "/ " and " X " and boxed X, |X|
thanks


Sign In
Create Account

Back to top









