Reference no: EM132212307
Question :
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.
Find the information for each shareholder
: Alex, Bob, Clark, and David formed Enterprise Co. a C corporation. They made the following contritbutions in exchange for stock. Alex - $20,000 in cash.
|
Write a recursive function that takes an integer n and print
: Write a recursive function called printVertically that takes an integer n and prints the base 10 digits of n to standard output.
|
List the total number of transactions made by members
: List the total number of transactions made by members in each state. Show your results in descending order on state abbreviations.
|
Write 100 integers created randomly into the file
: Write 100 integers created randomly into the file using text I/O. Integers are separated by spaces in the file.
|
Write a program that will work as a point of sale system
: Write a python program that will Work as a point of sale system at a rodeo snack bar.
|
Write a quuery using the adventureworks database
: Provide the winner's e-mail along with other specific information so that the CEO can send the notification of congratulations.
|
Write a python program the gets a string containing a name
: Write a python program the gets a string containing a person's first, middle, and last names, and then display their first, middle, and last initials.
|
Test the program for the graph
: List of nodes or false to compute a list of nodes, starting with the origination node and ending with the destination node in a graph.
|
Create two empty lists named ids and scores ids
: Ask the user for an id number. As long as this is not 0, append the id to ids, then get a score (0.0 - 100.0) and append it to scores.
|