Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Programming Assignment #1 Retail Store Clerks Calculator Problem Description: You have been asked to write a program to help a retail store clerks calculate the

Programming Assignment #1

Retail Store Clerks Calculator

Problem Description:

You have been asked to write a program to help a retail store clerks calculate the amount of money a customer owes. In this simplistic world, every customer buys exactly three kinds of items. However, the quantity of each item they purchase may vary. Inputs (entered by user of the program) Description/name of one item Price for one item Quantity purchased Description/name of second item Price for second item Quantity purchased Description/name of third item Price for third item Quantity purchased Tax rate (between 0 and 1.0) Processing and Output Calculate and display the line item total for each item Calculate and display the total cost of all the items Calculate and display the tax on all the items Calculate and display the grand total (total cost of items + tax) Display your name You may separate the processing/calculation step from the output step or you may combine those steps. It is your choice.

Requirements Prompt the user for the inputs and store the values in variables You must include all the inputs and outputs listed above and perform the calculations correctly Make the output look attractive The program should display your name Comment your code. At the top of the program include your name, a brief description of the program and what it does and the due date.

Deliverables: Submit the following items:

1. Fill out this MS Word file rename it as LastnameFirstname_PA1, convert it to a PDF and upload it into Programming Assignment #1 in D2L Assessments Assignments Programming Assignment #1.

2. Also upload your .jar file saved as LastnameFirstname_PA1 alongside the PDF. (you must submit the program regardless whether it complete or incomplete, correct or incorrect)

Note: Strictly follow the export instructions to submit your assignment.

Coding: (Copy and Paste Source Code below. Format your code using Courier 10pts)

Testing: (Describe how you test this program. Copy and Paste your output result below)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional Microsoft SQL Server 2014 Integration Services

Authors: Brian Knight, Devin Knight

1st Edition

1118850904, 9781118850909

More Books

Students also viewed these Databases questions

Question

1. Discuss the potential legal issues that relate to training.

Answered: 1 week ago

Question

3. Design a program for preparing for cross-cultural assignments.

Answered: 1 week ago

Question

2. Develop a program for effectively managing diversity.

Answered: 1 week ago