Question: loopinloop

Question:loopinloop

goli 175 Maple

hi everybody!

I have a question. Why my first loop works but the second one doesn't work?

first:

for m from 1 by 1 to 4 do

alpha := m+n:

od;

second:

for m from 1 by 1 to 4 do

for n from 1 by 1 to 4 do

alpha := m+n

od;

od;

what is my mistake?

Please Wait...