Question: PLEASE help! Must be written in Java! Posted earlier but the code in response was faulty (which is fine, they did quite a bit of

PLEASE help! Must be written in Java! Posted earlier but the code in response was faulty (which is fine, they did quite a bit of other questions for me), very confused, will upvote if Java code is working! thank you so much!
-7. Write code to prompt the user to enter their favorite number. Write an if condition and code block to determine if the user's favorite number (prompt) is over 5 OR less than 10? Use an if statement with ONE condition that contains TWO expressions with a LOGICAL OR operator. Display the results to the Console
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
