tav=c() for (n in 1:100) tav[n]=n^2 print(tav) n=1:100; tav=n*n print(tav)