Question: Problem Description 2 : Write a program that asks the user for the price per kilogram of cucumber without the discount, and the number of
Problem Description: Write a program that asks the user for the price per kilogram of cucumber without the discount, and the number of kilograms they want to buy. The program should calculate the total price including the discount.
Note: The discount is of the product price.
Hint: Total price with discount Price Price discount as a decimal
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
