Question: Create a Java program that presents a short experience with a company named, Amazon. The program should greet the user with a welcome message and

 Create a Java program that presents a short experience with a

Create a Java program that presents a short experience with a company named, "Amazon." The program should greet the user with a welcome message and then tell the user how much money they have available to spend. Use a constant to save the initial amount of money available to the us er. Next the user how much money they would like to spend today and save the user's input to an int variable. Display a message saying, "Wow, you are buying something nice!" to the user and then tell the user how much money they have remaining after their purchase. When run, the program should look like the screenshot shown below. Name your Java program Amazon,java and submit that to Canvas along with the other files specified in the "Grading" section below. Make sure your program compiles before submitting it to avoid losing points. CAWINDOWS system321cmd.exe lelcome to Amazon lou have 100 available to spend. pu much money do you want to spend today? lou. you are buying something nice! ou have dollars remaining. Press any key to continue. Grading Submit your doc file for Part 1, Java source code to Part 2, your Java source code to Part 3 and a screenshot of the Hacker Rank challenge results to Canvas Part 1 10 points Part 2 10 points Total of 20 points for Assignment 1 +2 Bonus Points for Coding Conventions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!