1 2 3 4 5 6 7
int N = rand(0,1000); int x = 0; while (x < N) { print(x,N); x = x + 1; } assert(x==N);