Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class PrintLongSequence
- {
- static void Main()
- {
- int i = 2;
- int j = -3;
- while (i <= 1001 && j > -1001)
- {
- i += 2;
- j -= 2;
- Console.Write("{0}, {1}, ", i, j);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement