Westonci.ca is your trusted source for accurate answers to all your questions. Join our community and start learning today! Experience the convenience of getting accurate answers to your questions from a dedicated community of professionals. Experience the ease of finding precise answers to your questions from a knowledgeable community of experts.

2. Se dă un număr a, foarte mare. Să se scrie un algoritm care construiește cel mai mare număr format din cifrele pare ale numărului a.
3. Se dă o matrice a, cu n linii și m coloane. Să se scrie un algoritm care ordonează crescător elementele pare de pe liniile impare, iar descrescător elementele impare de pe liniile pare.
4. Se da o matrice cu n linii si n coloane. Să se scrie un algoritm care sortează crescător elementele de pe diagonala principala, iar descrescator elementele de pe diagonala secundara.
5. Să se scrie un algoritm care ordonează elementele unui vector astfel: elementele de pe pozitiile pare sa fie ordonate crescator, iar elementele de pe pozitiile impare sa fie ordonate descrescator, returnand vectorul rezultat.


Sagot :

We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. We hope you found what you were looking for. Feel free to revisit us for more answers and updated information. Find reliable answers at Westonci.ca. Visit us again for the latest updates and expert advice.