[Solved] program to calculate the final charge of a product at a retail store

$25

File Name: program_to_calculate_the_final_charge_of_a_product_at_a_retail_store.zip
File Size: 640.56 KB

SKU: [Solved] program to calculate the final charge of a product at a retail store Category: Tag:
5/5 - (1 vote)

5/5 – (3 votes)

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.

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] program to calculate the final charge of a product at a retail store
$25