Write a program to enter a number.If the number is positive even, display three succeeding even numbers. If the number is negative odd, display three preceding odd numbers otherwise, display the message ‘Number is niether a positiv even nor a negative odd.’
Sample Input: -21
Sample Output : -23, -25, -27 Sample Input: 34
Sample Output : 36, 38, 40
Answers
Answered by
6
Answer:
please tell me in which program are you asking
Answered by
17
Answer:
mark as brainliest if it helps
Attachments:
Similar questions
Social Sciences,
4 months ago
Math,
4 months ago
English,
4 months ago
Math,
9 months ago
Math,
1 year ago