print 'n' even numbers separated by spaces
u need to design a function which print 'n' even numbers separated by spaces
ForExample:
input:
5
output:
2 4 6 8 10
Copy
Sample output :12
Sample input :
2 4 6 8 10 12 14 16 18 20 22 24
12
Answers
Answered by
1
Answer:
Output. Print N space-separated integers such that all the odd numbers of the list come after the even numbers. Example. Sample Input. 8.
Similar questions