Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started