/******************************************************/ /* Introduction to Programming */ /* By Dr. ANTF */ /* www.antf.net */ /* Copyright 2015 */ /* */ /* C# 333 - Test 1: Problem 3 */ /******************************************************/ using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOS { class Program { static void Main(string[] args) { for (int i = 20; i > 10; i--) { if (i % 2 == 0) Console.Write("{0}, ", 60 - i); else Console.Write("{0}, ", i / 2 * -1); } Console.ReadKey(); } } }