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?
2 Answers
+ 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
+ 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