16 lines
399 B
Text
16 lines
399 B
Text
using System.Console;
|
|
|
|
module LoopMult
|
|
{
|
|
Main() : void
|
|
{
|
|
def first = array['a', 'b', 'c'];
|
|
def second = array['A', 'B', 'C'];
|
|
def third = array[1, 2, 3];
|
|
|
|
when (first.Length == second.Length && second.Length ==
|
|
third.Length)
|
|
foreach (i in [0 .. (first.Length - 1)])
|
|
WriteLine("{0}{1}{2}", first[i], second[i], third[i]);
|
|
}
|
|
}
|