Prime b

Prime b

  • NA
  • 810
  • 344k

Loops problem #2

Jan 26 2012 9:02 PM
     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

Answers (2)