Дано:             s := 0; p := 1; for i := 1 to 4 do             begin                         p := p * i;                         s := s + p             end; writeln (‘сумма факториалов ’,s);


1) 10;

2) 6;

3) 33;

4) 31;

5) 9;