import std.stdio; void main(){ int[] elements = [0,1,2,3]; elements[] *= 3; writeln(elements);}
Standard input is empty
[0, 3, 6, 9]
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!