Write a short Java application that uses the Scanner class to accept a number between 1....

Write a short Java application that uses the Scanner class to accept a number between 1....

Write a short Java application that uses the Scanner class to accept a number between 1 and 10 from the user. If the number entered is between 1 and 10 (inclusive), the application will display a message “Good job! The number you entered is .” If the number entered was not between 1 and 10 (inclusive), an error message will be displayed, “The number entered was not between 1 and 10!” Take a screenshot to verify that your message is displayed successfully. Cut and paste the screenshot into a Word document and attach this document to your submission.




Submit your .java files as one zipped folder.
Powered by