Octave    up
 
 


 Hello World   Michael Neumann
# Hello World in Octave

printf("Hello World\n")
Prints "Hello World" onto the screen.


 Squares   Michael Neumann
for i = 1:10
  printf("%d ", i*i);
endfor
Outputs the squares from 1 to 10.