In this course you will demonstrate your knowledge of object-oriented programming by writing Java programs. The first step is to install the Java Software Development Kit (JDK) and an integrated development environment (IDE) called NetBeans in which you will write, execute and debug your programs. In this assignment you will also write your first program using Java to show that you have correctly installed the IDE and have learned the fundamentals of coding in the Java language.
The project instructions and deliverables are as follows (read through these instructions fully before beginning your assignment):
Download and install JDK and NetBeans using the installation instructions. Visit the School of Information Technology Library Guide. On this page, look for the Installation Guides, then open the guide that has instructions for installing NetBeans and Java.
Create a console program that allows the user to enter these three pieces of information:
The name of their favorite restaurant
The location or address of the restaurant
How often they eat at a restaurant each month
Each input in your program must be preceded by on-screen instructions that tell the user what to do. Each input must be stored in its own variable with an appropriate data type, and you must use a name for the variable that indicates what information it contains. For example, you might call the variable that stores the first input (the favorite restaurant) “favrest”, or “restaurant”.
After accepting each input, the program must thank the user for entering the information and then display what they entered on the screen. For example, if the user entered “McDonald’s” for their favorite restaurant, the program must say something like “Thank you! You entered: McDonald’s”. This must appear in the output window before continuing to the next input.
If the user enters 10 or more as the number of times they eat at a restaurant each month, the program must, in place of the usual report to the screen, instead inform the user with a special message of some kind, such as “Big spender!” or “Consider cooking at home!”. Be creative but professional with your message. If they do not enter 10 or more as that number, then the program must instead follow the output requirements of the previous step.
When all the above steps have been completed and the output reported to the screen, the program must thank the user for their information and then terminate.
Document your code using appropriate in-line comments. This includes variable declarations, input and output methods, and conditional logic. Your comments must explain how the program works to a programmer who is familiar with Java and NetBeans but has not seen this program before.
Your deliverable for this assignment is the NetBeans project you created using the steps above (ZIP the whole folder that contains the project). You must also submit a screenshot showing NetBeans running on your computer (upload separately or add to the ZIP).
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more