04.02.2015 Views

"Datormācība. Skaitlisko aprēķinu realizācijas metodes ...

"Datormācība. Skaitlisko aprēķinu realizācijas metodes ...

"Datormācība. Skaitlisko aprēķinu realizācijas metodes ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Pk3-14.<br />

Pk3-15.<br />

Pk3-16.<br />

else s:=s+1/i end;<br />

write('n1=',n1, ' n2=',n2, ' n3=',n3);<br />

Var izmantot operātorus: read(N);<br />

for i:= 1 to G do N:=N+N*P/100;<br />

write('pec G gadiem summa summa bus ',N);<br />

Var izmantot operātorus:<br />

i:=1;<br />

a:=1;<br />

s:=a;<br />

while (a>p) do<br />

begin<br />

i:=i+1;<br />

a:=1/i;<br />

s:=s+a;<br />

end;<br />

Var izmantot operātorus: p:=5; C:=200; n:=0;<br />

while p

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!