Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help withthis assignment CS192 Week 1 Assignment Quick Checkout I local department store hires you to write an automated checkout program designed specifically

I need help withthis assignment

CS192 Week 1 Assignment

Quick Checkout

I local department store hires you to write an automated checkout program designed specifically for their express checkout lane. The express lane is limited to five items for any one purchase. Write a simple program using Python that prompts the user for the prices of five individual items and then calculates and displays the subtotal, sales tax, and total. The sales tax is 6 percent.

For this project:

You will submit your python code in either the original .py file, or copied into a .txt file.

A screenshot of your code having been executed (run). How to Take a Screenshot

Tips: Since the program asks you for three calculated values, it would be a good idea to have a place to store those three values once they have been calculated.

Avoid using Microsoft Word to write your program code. Word uses symbols other than the standard quote marks, which are often misinterpreted by programming compilers/interpreters.

Example output:

C:\>python week1.py

Welcome to the Express Lane!

Enter the first price: 5.00

Enter the second price: 6.15

Enter the third price: 7.95

Enter the fourth price: 42.99

Enter the final price: 12.70

subtotal: 74.79

sales tax: 4.49

-----------------------

total: 74.85

Downloading Python--Additional Help

If you're having trouble using the W1 Tutorial Video for downloading Python, here is a software demo using the latest view (as of November 2016) of the python.org website and downloading version 3.5.2 with annotations for each action.

Please note: this video does not have a voiceover, so you should hear no sound other than mouse clicks.

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

Financial Management Principles and Application

Authors: Arthur J. Keown, J. William Petty, David F. Scott, Jr.

10th edition

536514119, 536514110, 978-0536514110

More Books

Students also viewed these Finance questions