Computer Science, asked by filmyaditya, 17 hours ago

3) wap to accept a number and print that many even numbers and odd numbers. Use separate loop for even number and odd number.​

Answers

Answered by xiann
0

Answer:

Input: N = 5

Output:  

Even: 2 4 6 8 10

Odd: 1 3 5 7 9

Input: N = 3

Output:  

Even: 2 4 6

Odd: 1 3

Explanation:

hope it helps

Similar questions