229k views
21 votes
Write a Java program that will do the following:

Prompt the user for an integer value.
Compute the following information about the number and provide output similar to the examples below.
Is the number even or odd?
Is the number positive, negative, or neither?
Is the number evenly divisible by 5? If not, display nothing.
Is the number evenly divisible by 7? If not, display nothing.
Is the number evenly divisible by 10? If not, display nothing.

1 Answer

4 votes

Answer:

I don't know I'm sorry I will tell you another answer asks me to

User Gilles Castel
by
3.2k points