Computer Science, asked by Onesarthak007, 20 days ago

Write a Java program to enter a number. If the number is negative even, display four succeeding even numbers. If the number is positive odd, display four preceding odd numbers otherwise display the message ‘Number is neither negative even nor a positive odd’.​

Answers

Answered by Saran2021cool
0

Answer:

The answer for you

Explanation:

Attachments:
Similar questions