MuffinMonster

Class Task 19#

Oct 23rd, 2013
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.48 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6.  
  7. namespace ConsoleApplication10
  8. {
  9.     class Program
  10.     {
  11.         static void Main(string[] args)
  12.         {
  13.             int num = 3, i;
  14.             for (i = 0; i < 100; i++)
  15.             {
  16.                 num = num + 2;
  17.             }
  18.             Console.WriteLine("The number at place 100# is " + num);
  19.             Console.ReadKey();
  20.         }
  21.     }
  22. }
Add Comment
Please, Sign In to add comment