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

2 lines
36 B
Fortran

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