gitweb on Svarog

projekti pod git sistemom za održavanje verzija -- projects under the git version control system
ant script - mj-samples needs to depend on init to create the temp folder
[mjc2wsl.git] / samples / ArrayTest.mj
1 program ArrayTest
2 int[] arr;
3 int i;
4 int max;
5 {
6 void main(){
7 max = 10;
8 arr = new int[max];
9 i = 0;
10 while (i<max){
11 arr[i] = max-i;
12 i++;
13 }
14 i = 0;
15 while (i<len(arr)){
16 print(arr[i],3);
17 i++;
18 }
19 }
20 }
Svarog.pmf.uns.ac.rs/gitweb maintanance Doni Pracner