Computer Science, asked by JeetChavan, 9 months ago

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 HarshiHimanshi
6

Answer:

please tell me in which program are you asking

Answered by rupaliroy9830953784
17

Answer:

mark as brainliest if it helps

Attachments:
Similar questions