Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Zbirka zadataka za bilo koji jezik

[es] :: .NET :: Zbirka zadataka za bilo koji jezik

[ Pregleda: 1230 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

pl4stik
Senior .NET programmer/Consultant
oDesk
NI na nebu NI na zemlji

Član broj: 173596
Poruke: 715
*.mbb.telenor.rs.

Sajt: xx-auth.com.azhar.arvixe...


+31 Profil

icon Zbirka zadataka za bilo koji jezik09.06.2010. u 07:03 - pre 168 meseci
Pozdrav svima,

Potrebni su mi zadaci za vezbu od prilike ovako nekako:

1. Write a function that accepts an array of non-negative integers and returns the second largest integer in the array. Return -1 if there is no second largest.
The signature of the function is
int f(int[ ] a)

2. Write a function that takes an array of integers as an argument and returns a value based on the sums of the even and odd numbers in the array. Let X = the sum of the odd numbers in the array and let Y = the sum of the even numbers. The function should return X - Y
The signature of the function is:
int f(int[ ] a)

3. Write a function that accepts a character array, a zero-based start position and a length. It should return a character array containing containing length characters starting with the start character of the input array. The function should do error checking on the start position and the length and return null if the either value is not legal.
The function signature is:
char[ ] f(char[ ] a, int start, int len)

Jel ima neko nesto ovako ili slicno?

To sto nekoliko miliona ljudi tvrdi da nisi u pravu ne znaci da stvarno nisi - Frank Zappa

https://youtu.be/DLe358DPGXU
 
Odgovor na temu

Igor Gajic

Član broj: 93194
Poruke: 747
*.dynamic.isp.telekom.rs.



+987 Profil

icon Re: Zbirka zadataka za bilo koji jezik09.06.2010. u 07:10 - pre 168 meseci
Znam za ovu knjigu, ali za kvalitet ne garantujem:

Rešeni zadaci iz programskog jezika C#
Autor: Laslo Kraus

http://www.mikroknjiga.rs/store/prikaz.php?ref=978-86-7466-289-2
 
Odgovor na temu

pl4stik
Senior .NET programmer/Consultant
oDesk
NI na nebu NI na zemlji

Član broj: 173596
Poruke: 715
*.dynamic.isp.telekom.rs.

Sajt: xx-auth.com.azhar.arvixe...


+31 Profil

icon Re: Zbirka zadataka za bilo koji jezik10.06.2010. u 17:08 - pre 168 meseci
Hvala na preporuci, provericu.


To sto nekoliko miliona ljudi tvrdi da nisi u pravu ne znaci da stvarno nisi - Frank Zappa

https://youtu.be/DLe358DPGXU
 
Odgovor na temu

[es] :: .NET :: Zbirka zadataka za bilo koji jezik

[ Pregleda: 1230 | Odgovora: 2 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.