Given array of integers, and we have to print all ODD numbers.
For example we have list of integers:
18, 13, 23, 12, 27
18 is properly divisible by 2, So it is a not odd number.
13 is not properly divisible by 2, so it is a odd number.
23 is not properly divisible by 2, so it is a odd number.
12 is properly divisible by 2, So it is not a odd number.
27 is not properly divisible by 2, so it is a odd number.
Consider the example:
Output