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
1,99 € Add to cart
Add to Wish List
Want cheaper?
ID number:626345
 
Author:
Evaluation:
Published: 01.07.2014.
Language: Latvian
Level: College/University
Literature: n/a
References: Not used
Extract

For ciklā iet cauri masīvam country_codes, salīdzina ievadīto kodu ar masīva integer tipa mainīgajiem, ja kods sakrīt ar ievadīti, tiek izvadīta konkrētā elementa simbolu virkne un darbība tiek pārtraukta:
for (i=0;i<8;i++){
if (a==country_codes[i].code){
printf ("nKoda %d valsts ir %sn",a,country_codes[i].country);
break;}
Ja ir iziets cauri masīvam un nav koda sakritība, tiek izvadīts paziņojums:
else if(i>=8-1)

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