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

  In which situation do you get the wrong result

How can you fix that without using the Math.floorMod method described in Java 8 Note 4.1?

  Questionhocolate delights candy company manufactures

questionhocolate delights candy company manufactures several types of candy. graph a flowchart or pseudocode for

  Security accounts manager

The security accounts manager (SAM) database consists of the information on all user profiles. User account set-up populates the database. Explain the fields and options linked with user account set-up.

  Creating a simulator that maintains coherent caches

CS 4290/6290, ECE 4100/6100 - Spring 2017 Project - Cache Coherence. In this project, you will be creating a simulator that maintains coherent caches

  Find out the winner based on observation

Write down an application that randomly "throws"two dice and displays their values. Save as TwoDice.java

  Express the scope of the project

Define the scope of the project. Create a detailed outline for each section

  Discuss the ea component presented as part of case study

Discuss the EA component(s) presented as part of the case study: integration of IT good and services, the governance of IT good and services, securing the enterprise, IT strategy, ITIL, BYOB.

  What is a bootstrap program and where is it stored

What are the short comings of shortest seek time first (SSTF) disk scheduling algorithm? What is a bootstrap program, and where is it stored?

  Does the otr time appear to be stable why or why not

The data in below table lists country code and the order to remittance (OTR) time for hardware / software installations for the last 76 installations (from first to last). Does the OTR time appear to be stable? Why or why not

  Calculate cost method that returns the total cost

A piecemeal vacation has three additional attributes: hotel, meal, airfare as corresponding costs.

  Construct a matrix whose 2-norm condition number is exactly

Construct a 10 × 10 matrix whose 2-norm condition number is exactly 1; Construct another NONSINGULAR 10 × 10 matrix.

  Write a program in python for creating a binary search tree

Write a program in PYTHON for creating a binary search tree (BST) from a given number randomly generated integer values

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