# program to calculate the final charge of a product at a retail store

30.00 \$

Category:
Click Category Button to View Your Next Assignment | Homework

You'll get a download link with a: . ` zip` solution files instantly, after Payment

## Description

Design a python program to calculate the final charge of a product at a retail store.Â You must also create flowcharts for each function and for the program.

a.Â Â Â Â Â productCharge():Â should prompt the user for a valid retail charge of a product (between \$10 and \$5000).Â The value should be returned from the function

b.Â Â Â Â Â productDiscount():Â If product total is over \$350, the customer receives a 17% discount.Â Return the value of the discounted product.

The Python program should prompt the user for the number of products in the order (must check that this number is between 1 and 7).Â Â Then, by calling the function, enter the productCharge for each of the products – maintaining a total for all products.Â Once products are all entered, call the productDiscount function.Â Lastly, output the number of products, the product total, the amount of sales tax:Â 3% and the final total to include that tax.Â Note all prices should be printed to two decimal places.

2. Wri function in python that will calculate if a value is inside a defined range.Â The functionÂ valid, should accept 3 parameters: the value, lowest and highest member of usable range.Â The function should return True if value is in range and False if not.