hi, i have a looop ... in which i am adding one value to another.
what i wish is to run the loop till the index is greater than -5 and in the loop i want to print only +ve value of the index.
i.e
it will printCode:int index =0; for (index = 5; index >= -5; index--){ printf ("%d", index); }
but i want onlyCode:543210-1-2-3-4-5
actually i was thinking to manipulate bits.Code:54321012345



LinkBack URL
About LinkBacks


