RosettaCodeData/Task/Loop-over-multiple-arrays-simultaneously/Elena/loop-over-multiple-arrays-simultaneously-1.elena

19 lines
337 B
Text
Raw Permalink Normal View History

2019-09-12 10:33:56 -07:00
import system'routines;
import extensions;
2016-12-05 22:15:40 +01:00
2019-09-12 10:33:56 -07:00
public program()
{
2020-02-17 23:21:07 -08:00
var a1 := new string[]::("a","b","c");
var a2 := new string[]::("A","B","C");
var a3 := new int[]::(1,2,3);
2016-12-05 22:15:40 +01:00
2019-09-12 10:33:56 -07:00
for(int i := 0, i < a1.Length, i += 1)
{
console.printLine(a1[i], a2[i], a3[i])
};
2016-12-05 22:15:40 +01:00
2019-09-12 10:33:56 -07:00
programUsingZip();
console.readChar()
}