RosettaCodeData/Task/Arrays/Fortran/arrays-17.f

3 lines
67 B
Forth

integer :: i
integer, dimension (10) :: a = (/(i * i, i = 1, 10)/)