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
2,49 € Add to cart
Add to Wish List
Want cheaper?
ID number:739277
 
Evaluation:
Published: 02.10.2012.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Time period viewed: 2011 - 2015 years
Extract

Dotajā laboratorijas darba sagatavē jau ir realizēts līdzīgs uzdevums. Tāpēc ir nepieciešams modificēt tikai aprēķinu daļas fragmentu.

Izmantojamo mainīgo (identifikatoru) vārdi:
is – masīva aizpildāmās rindas sākuma indekss;
ib – masīva aizpildāmās rindas beigu indekss;
js – masīva aizpildāmās kolonnas sākuma indekss;
jb – masīva aizpildāmās kolonnas beigu indekss;
i – analizējamā elementa numurs;

Tā kā aizpildīšana notiek pa horizontāli (pa rindām), tad loģiski ir rīkoties pēc sekojoša algoritma ( 2. att.):
1) nosakām no kuras (is) un līdz kurai (ib) rindai notiks masīva aizpildīšana;
2) katrai izvēlētai pāra rindai (i) noteiksim no kura (js) līdz un līdz kuram (jb) un nepāra rindām (i) (skaitot atpakaļgaitā) no kura (js) līdz kuram (jb) elementam notiek rindas aizpildīšana.

Author's comment
Work pack:
GREAT DEAL buying in a pack your savings −-2,30 €
Work pack Nr. 1325704
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