Tech
Forums
Jobs
Books
Events
Videos
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Answers
Loops problem #2
Prime b
12y
1.3k
1
Reply
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
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
loops........
How to use all Java Script Controls in Visual Studio 2005 with Examples