﻿//Write a program that allocates array of 20 integers and initializes each element by its index multiplied by 5.
//Print the obtained array on the console.
using System;
    class AllocateArrays
    {
        static void Main()
        {

            int[] nums = new int[20];
            for (int i = 0; i < nums.Length; i++)
            {
                nums[i] = i * 5;            
                //Console.Write(nums[i] + ", ");
            }
            //Console.Write("\b\b " + Environment.NewLine);
            Console.WriteLine(string.Join(", ", nums));
        }
    }
