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:132321
 
Author:
Evaluation:
Published: 01.07.2014.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

max_min() funkcija - funkcija neatgriež vienu vērtību, bet gan atgriež četras vērtības(max,min,maxpoz,minpoz), tāpēc tā ir void funkcija. Funkcija saņem masīvu A un mainīgos max,min,maxpoz,minpoz, kā integer tipa rādītājus.
Ar for ciklu iet caur masīvu A un atrod masīva mazāko/lielāko elementu un piešķir to mainīgajam max/min. Mainīgajam maxpoz/minpoz piešķir iterāciju mainīgā i vērtību, kas norāda,kurā pozīcijā atrodas masīva elements.

Author's comment
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