Question: Q Search t Summary 2]# JunpinJava. . Thus progran looks up and prints the names and prices of coffee orders In this lab, you use

 Q Search t Summary 2]# JunpinJava. . Thus progran looks up
and prints the names and prices of coffee orders In this lab,

Q Search t Summary 2]# JunpinJava. . Thus progran looks up and prints the names and prices of coffee orders In this lab, you use whet you learrned about parallel lists to complete a partially completed Pytion program. Input : Interactive aa Output: Nane and price of coffee orders or error nessage if add in is not found The program should e name and price for a coffee add-in from the Jumpin' Jive Coffee Shop or it should print the message "Sorry, we do not carry that." r print the 6 NUM ITEMSSNaned constant 8|# Initialized list of add-ins 9 addIns ["Crean. "Cunnanon". "Chocolate". "Anaretto. "Whiskey'] 11 Initialized list of add-in prices 13 foundit False # Flag variable Read the problem description carefully before you begin. The data fle providesd 2 addinaPrices + 1.89, 25, 39, 1 50, 1.75) for this lab includes the necessary rout statements. You need to write . of the program that searches name of the coffee od int prints the name and price of ,he or prints the error message if the dd-in is not found. Comments in the co e tel you where to write your statements. 14 order Total 2.00 All orders start with a 2.88 charge 16: # Get user input 17 addIn input("Enter coffee add-in or XXX to quit: ") 18 19 " Write the rest of the progran here. DeLL

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!