Answered step by step
Verified Expert Solution
Question
1 Approved Answer
( 1 5 points ) A men s clothing store advertises that if you buy a suit, you can get a second suit at halfoff.
points A mens clothing store advertises that if you buy a suit, you can get a second suit at halfoff. What they mean is that if you buy two suits, then the price of the lowercost suit is reduced by
Write a program that accepts the two costs as input and then calculates the total cost after
halving the cost of the lowest price suit.
Example of results:
Enter cost of first suit:
Enter cost of second suit:
Cost of the two suits is $
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started