Enni

Enni

  • 1.8k
  • 30
  • 1.1k

Even and odd numbers should be stored in two columns

Jul 17 2018 5:35 AM
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.

Answers (7)