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

2 lines
33 B
Fortran

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