5 lines
74 B
Chapel
5 lines
74 B
Chapel
var val = 1024;
|
|
while val > 0 {
|
|
writeln(val);
|
|
val /= 2;
|
|
}
|