question archive Assignment Details In this assignment you will use a loop and a custom method (or "function"), as well as built-in Java classes
Subject:Computer SciencePrice: Bought3
Assignment Details
In this assignment you will use a loop and a custom method (or "function"), as well as built-in Java classes. Create a Java program that meets the following requirements:
Your deliverable for this assignment is the NetBeans project you created using the steps above (ZIP the whole folder that contains the project). (No screenshot.)
Note: It is fine if the program evaluates 1 (multiplying it by 5) and displays the success message before terminating. This is the expected behavior for the simplest solution to the program.
Note: This program does not check to see if the user failed to enter a number in the required range. That topic will be examined later in this course.
Tip: As with Unit 1, remember to import the Scanner class by adding the line "import java.util.Scanner" below the "package" declaration.