Got a problem with a for loop
Say I want it to start at 10, test for at less than 5 and decrement each time before printing, this has been driving me mad.
this is what i thought it would be
for(x=10; x<5; x--)
printf("%d", x); etc
when i do this for x is greater than 5 it works fine i.e x>5 and prints 109876 but for x<5 prints nothing any ideas.