Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

A2 A3 is related to A2 IT-106 -Assignment 2 (A2)-On-line Order Shopping Cart Assignment Given: 2/12/2018 Assignment Due: 2/19/2018, 9:00 am In this assignment you

A2 image text in transcribed
image text in transcribed
A3 is related to A2
image text in transcribed
image text in transcribed
IT-106 -Assignment 2 (A2)-On-line Order Shopping Cart Assignment Given: 2/12/2018 Assignment Due: 2/19/2018, 9:00 am In this assignment you are asked to write a Python program to help process orders at Amazin.com. The program will take orders for a single shopping cart. The user will be presented with a short menu showing a list of item categories selected and is asked to enter the number of items in that category and the cost of the items. The program tests to be sure the item selection is valid. If not, the user is prompted for a new selection until a correct one is entered. The menu will display one of four choices for the user to select from and should look similar to this (pages 129. 130 in the textbook show an example of how to do this): start output 1 Books 2 Electronics 3 - Clothing 4 - Checkout Select one of the categories or checkout (1-4): end output The user enters a selection and the program validates it is one of the above (I through 4). If 1, 2, or 3, the program prompts the user for number of items and the total cost of the items. A running count for each of the three item categories and cost is kept. The menu is displayed for more selections until the user selects 4 (checkout). When checkout is selected the program prints a short report showing the number of items selected per category and cost per category. The total for the order is also displayed. The output report should be similar to this

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

Databases Organizing Information Digital And Information Literacy

Authors: Greg Roza

1st Edition

1448805929, 978-1448805921

More Books

Students also viewed these Databases questions

Question

1 1 . What is an ethical hacker?

Answered: 1 week ago

Question

explain what is meant by redundancy

Answered: 1 week ago