Hi,
My requirement is to print 1 to 20 numbers where even and odd numbers should be as two separate columns, Like as follows
Even Odd
2 1
4 3
6 5
8 7
Note: I need it with out creating table
Thank you.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Jenith ThakkarRank #789 · 2.9K reputationPosted Jul 17, 2018, 1:38 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Jul 17, 2018, 5:27 AM EDT
Packiaraj SanthiyaguRank #659 · 3.6K reputationPosted Jul 17, 2018, 7:32 PM EDT
Rajashekar Beesu7 reputationPosted Jul 17, 2018, 11:44 PM EDT
Enni29 reputationPosted Jul 18, 2018, 12:05 AM EDT
Rajashekar Beesu7 reputationPosted Jul 18, 2018, 12:33 AM EDT
Nitin SontakkeRank #264 · 9.6K reputationPosted Jul 18, 2018, 6:07 PM EDT