Advertisement
Naralex

MultipliedByFive

Jan 12th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.27 KB | None | 0 0
  1. using System;
  2.  
  3. class MultipliedByFive
  4. {
  5.     static void Main()
  6.     {
  7.         int[] arr = new int[20];
  8.  
  9.         for (int i = 0; i < arr.Length; i++)
  10.         {
  11.             arr[i] = i;
  12.             arr[i] *= 5;
  13.             Console.WriteLine(arr[i]);
  14.         }
  15.  
  16.      }
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement