Add Papers Marked0
Paper checked off!

Marked works

Viewed0

Viewed works

Shopping Cart0
Paper added to shopping cart!

Shopping Cart

Register Now

internet library
Atlants.lv library
FAQ
6,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:786439
 
Evaluation:
Published: 16.04.2010.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

Pieņemot, ka masīvs Nauda ir definēts šādā veidā:
var Nauda: array[1..3] of real;

un tā elementu vērtības ir:
Nauda[1] = 25,31
Nauda[2] = 43,27
Nauda[3] = 17,52

noteikt, kāda ir masīva Nauda 1. elementa vērtība pēc doto programmas fragmentu izpildes?

begin
...
A:= 59.32; B:= A + Nauda[3]; Nauda[1]:= B;
...
end.

Atbilde: 76.84

Kāds skaitlis ir jāievieto xxxxx vietā, lai pēc dotā koda fragmenta izpildes mainīgais k būtu vienāds ar 1000?

...
const N = 100;
...
begin
...
for i := 1 to N do
myarr[i] := xxxxx;
k := 0;
for j := 1 to N do
k := k + myarr[j];
...
end.
Atbilde: 10…

Author's comment
Work pack:
GREAT DEAL buying in a pack your savings −3,20 €
Work pack Nr. 1338966
Load more similar papers

Atlants

Choose Authorization Method

Email & Password

Email & Password

Wrong e-mail adress or password!
Log In

Forgot your password?

Draugiem.pase
Facebook

Not registered yet?

Register and redeem free papers!

To receive free papers from Atlants.com it is necessary to register. It's quick and will only take a few seconds.

If you have already registered, simply to access the free content.

Cancel Register