Well I have tried everything possible (examples below) and I cannot get this thing working - I know you guys are trying to help by hinting at what to do but honestly I've gotten this far already but I cannot see what is wrong..... :/
Code:
while (width>0)
{
printf("*");
width--;
while (height>0)
{
printf("*\n");
height--;
}
}
Code:
while (height>0)
{
printf("*");
height--;
while (width>0)
{
printf("*\n");
width--;
}
}
Code:
while (height>0)
{
printf("*\n");
height--;
while (width>0)
{
printf("*");
width--;
}
}
Code:
while (width>0)
{
printf("*");
width--;
if (width=0)
{
printf("\n");
while (height>0)
{
printf("*");
height--;
}
}
}