int i;
i=0;
for (i=0;i>2;i++)
{
repeat((3),"|",var);
printf("\n");
}
For some reason it gets to the “for” and it skips it. I tried to put the int i outside of the for and even initialized it outside of the for and in debug it is zero. all I need it to do is loop through this code twice.
Change:
to:
You’re testing if it’s
> 2which will fail so it never enters the loop.