How to switch against odd and even number ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to switch against odd and even number ?

input : 4 output : 2 1 4 3 input : 7 output : 2 1 4 3 6 5 8 please help me again 🙏

10th Oct 2017, 5:45 PM
D' Ravelens
D' Ravelens - avatar
2 Answers
+ 3
Post your code. More than happy to help you.
10th Oct 2017, 6:12 PM
AgentSmith
10th Oct 2017, 6:03 PM
Kartikey Sahu
Kartikey Sahu - avatar