Write a python program that will work as a point of sale

Assignment Help Computer Engineering
Reference no: EM132212363

Write a python program that will

• Work as a point of sale system at a rodeo snack bar.

• The snack bar sells only three items: sandwiches for $3.00, chips for $1.50 and drinks for $2.00.

• All items are subject to an 8.25% sales tax.

• The program will repeatedly display the following menu until the shift is closed - E is entered.

• The program should keep a running total of the amount of the sale and the end of day total sales will be displayed when E is entered.

• Only one item can be ordered at a time

• The following menu will be displayed at all times:

MENU

S = sandwiches - $3.00

C = chips - $1.50

D = drink - $2.00 X = cancel the sale and start over

T = total the sale.

E = close the shift

• If the sale is cancelled - X is entered, clear the running total and display the menu again.

• When the sale is totaled - T is entered, calculate the sales tax due and OUTPUT the number of all the items ordered (not the totals of each type of item), the total before the tax, the tax and the final total including the tax. Use a sentinel loop.

• Use functions with value and reference parameters where appropriate.

• Your numeric output must be formatted to show two places after the decimal even if the value after the decimal is 0. An output of 10 should display as 10.00.

• All output must have the appropriate labels.

Reference no: EM132212363

Questions Cloud

Write a python program that will simulate the nj cash : Write a python program that will simulate the NJ Cash 5 lottery. The program must pick 5 numbers from 1 to 38 - No duplicates allowed.
Write a recursive code-definition of the fibonacci numbers : Write a recursive code/definition of the Fibonacci numbers. The numbers are a sequence of integers, each of which is the sum of the previous two numbers.
Write a python script to generate 50 files for each : Write a python script to generate 50 files for each of the following courses: MATH222, MATH477, MATH333.
Write a queue implementation that use a circular linked list : Write a Queue implementation that uses a circular linked list, which is the same as a linked list except that no links are null.
Write a python program that will work as a point of sale : Write a python program that will Work as a point of sale system at a rodeo snack bar.
Write a random number generator function : Write a random number generator function " rand_integer" that returns a random integer between -10 and 10.
Write a python program only using loops : When data is transmitted between two computers, it is possible that the signal can encounter interference that would distort it.
Write a procedure in python that takes a positive integer n : Write a procedure in Python that takes a positive integer n as input and returns the sum of even Fibonacci numbers up to n.
Write a recursive function that accepts two arguments : Write a recursive function that accepts two arguments into the parameters x and y.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd