Ответы и объяснения

Лучший Ответ!
2012-06-02T17:46:45+00:00

1)  program Mult(output); begin var k,m: integer; k:=12; m:=1; while(k<800) begin m:=m*k; k:=k+12; end; write(m); end.  

2) program EvenNumbers(output); begin n, m, even, i: integer; even:=0; write('Enter number N: '); read(n); writeln(); if n<=0 then exit; write('Enter a number: '); for i:=1 to n do begin read(m); writeln(); if i<n then  begin write('Enter a number: '); end; if m div 2 = 0 then even:=even+1; end; write(even); end.  

3) program Mine(output); var i : integer; function Print(var j : integer);real; begin Print:=1/exp(ln(j) * 5) end; begin n,i:integer; m:real; write('Enter number N: '); read(n); m:=0; for i:=1 to n do m:=m+Print(i); writeln(); write(m); end.