0

How to get a 5×5matrix? Then show the even and odd elements in two diffrent arrays?

Then seperate the even and odd elements in two diffrent arrays?

3rd Jan 2020, 11:35 PM
Saeed Soleymani
2 Réponses
+ 6
She's right, but anyway i felt inspired and decide to wrote this code for you. The language I chose is PHP, but the logic I used will be useful for any language because I didn't use PHP's functions. I hope it can help you. https://code.sololearn.com/w4nqMM1R5E6L/?ref=app
4th Jan 2020, 1:26 AM
Javier Ballesteros
Javier Ballesteros - avatar
+ 3
Can you at least specify which language is preferred in your question tags? you are learning multiple languages, it's not possible to deduce which language you prefer. I also recommend you to attach a code link along with the question. Just to show people what you have tried, and let them know where you face difficulties. Follow this guide to share links 👍 https://www.sololearn.com/post/74857/?ref=app
4th Jan 2020, 12:53 AM
Ipang