EP_CAPP FX� A Programming Examplez€ DThe following defines a program called "pgm". "Block" creates local € Dvariables, "Do" makes a loop, and "Print" prints to the screen. The € ?program prints the first "n" numbers and their squares, without€ Aaffecting the value of any other variable already named "i". The€ 8second input line shows the result of applying pgm to 5.h€ @In[1]:= pgm[n_] := Block[{i}, Do[ Print[i," ",i^2], {i,1,n} ] ]`€ In[2]:= pgm[5]B€ 1 1L€ 2 4L€ 3 9L€ 4 16K€ 5 25Ô� X�O€N‚OA€N€OA€N€OA€N€OA€N€OA€N€OA€N€OA€N€OA€N€OA€N€OA€NH�O