Take n elements into an array and print the odd numbers and even numbers

Constraints:
0 <= arr[i] <= 1000 ; 0<=i<=9

Input:
First line of input contains n, the number of elements in the input array
Take n elements into an array and print the odd numbers and even numbers
Take n elements into an array and print the odd numbers and even numbers
11
23
233
212
250
590
231
553
678
900
100
101
Total : 0 Discussion
Login