Show the for statement for a loop that counts from 1,000 to 0 by –2.
for (int index = 1000; index >= 0; index -= 2)
{
Console.WriteLine(index);
}
if you run it begins decrement from 596
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Jan 27, 2012, 4:54 AM
If you change it to this, then you'll see that it's working properly:
Prime bPosted Jan 27, 2012, 3:18 PM