Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System;
- class Exercise01
- {
- static void Main(string[] args)
- {
- int[] array = new int[20];
- int lenght = array.Length;
- int[] multipliedByFive = new int[lenght];
- for (int i = 0; i < 20; i++)
- {
- array[i] = i;
- multipliedByFive[i] = array[i] * 5;
- Console.WriteLine("multipliedByFive[{0}] = {1}", i, multipliedByFive[i]);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment