Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need this answered asap please Problem 1 - Clothing Purchases The table below gives your current shopping list for the upcoming week along with

I need this answered asap please image text in transcribed
image text in transcribed
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 guaranteed to be two distinct items from your shopping list. Input Format Sample Case 1 - Sample Case 2 Sample Input 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 guaranteed to be two distinct items from your shopping list. Input Format Sample Case 1 Sample Case 2 Sample Input Sample Output $164,48

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

Sql++ For Sql Users A Tutorial

Authors: Don Chamberlin

1st Edition

0692184503, 978-0692184509

More Books

Students also viewed these Databases questions

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

5. Give examples of variations in contextual rules.

Answered: 1 week ago

Question

f. What stereotypes were reinforced in the commercials?

Answered: 1 week ago