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
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
Social Sciences,
9 hours ago
Computer Science,
9 hours ago
History,
9 hours ago
Science,
17 hours ago
Math,
17 hours ago
English,
8 months ago
Math,
8 months ago