Name: Anonymous 2013-02-24 17:11
Need to finish this billing program
from math import *
import random
meal=[1,2,3,4,5]
price=[6.99,7.99,4.19,3.99,12.99]
tax=.05
extra=.5
bill=0
print "Welcome to McPythons\n"
print "Enter 1 for Combo Meal 1"
print "Enter 2 for Combo Meal 2"
print "Enter 3 for Combo Meal 3"
print "Enter 4 for Combo Meal 4"
print "Enter 5 for Combo Meal 5"
print "SuperSize for just 50% more!"
need to use a loop asking for the following:
what combo meal
how many
if they want to supersize
then i need to add up the bill
compute a 5% tax
print the pre-tax bill
print the amount of tax
print the final bill
from math import *
import random
meal=[1,2,3,4,5]
price=[6.99,7.99,4.19,3.99,12.99]
tax=.05
extra=.5
bill=0
print "Welcome to McPythons\n"
print "Enter 1 for Combo Meal 1"
print "Enter 2 for Combo Meal 2"
print "Enter 3 for Combo Meal 3"
print "Enter 4 for Combo Meal 4"
print "Enter 5 for Combo Meal 5"
print "SuperSize for just 50% more!"
need to use a loop asking for the following:
what combo meal
how many
if they want to supersize
then i need to add up the bill
compute a 5% tax
print the pre-tax bill
print the amount of tax
print the final bill