Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this answered asap please last pic is the starter file Problem 1 - Clothing Purchases The table below gives your current shopping list

I need this answered asap please
image text in transcribed
image text in transcribed
image text in transcribed
last pic is the starter file
Problem 1 - Clothing Purchases The table below gives your current shopping list for the upcoming week along with the prices of each item: However, it turns out that the store is sold out of two of the items on your list. Complete the following program that reads in which two items are sold out and prints out the total cost of your shopping trip without those two items. For example, if T-Shirt and Jeans are sold out, then the total cost is just the total cost of the other three items, which comes out to $74.95+$48.72+$81.81=$205.48. Be sure to include a dollar sign in your output and display the value to two decimal places. The inputs are Jiuaranteed to be two distinct items from your shopping list. Vinput Format The first line is the name of the first item sold out and the second line is the name of the second item sold out. Sample Case 1 Sample input sold out. Sample Case 1 Sample Input T-shirtJeans Sample Output 5205.48 Sample Case 2 Sample Input T-shirtCologne Sample Output 1164,48 Sample Case 3 Sample input T-shintBelt Sample Output 5190,71 \# CS 303E Quiz 2 \# do NOT' rename this file, otherwise Gradescope will not accept your submission \# Problem 1: Clothing Purchases def clothingPurchases(): \# write your solution to problem 1 here pass \# Problem 2: First Term Larger Than k def firstTermLarger(): \# write your solution to probtem 2 here pass if name ==" main " ": If you want to test your code on your computer, uncomment the respective function call(s) below. DO NOT CALL YOUR FUNCTIONS ANYWHERE OUTSIDE OF THIS AREA n*t" \# clothingPurchases() \# firsttermarger() \# DO NOT DELETE THIS PASS pass 4 DON'T DO IT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Mary Z. Last

8th edition

1285427106, 978-1285427102

More Books

Students also viewed these Databases questions

Question

help asp

Answered: 1 week ago