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

3 lines
78 B
Forth

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