Question: Program needs to be in C 2. SuperCool, a retail store, releases a new promotion for their customers. Detail of their promotion is presented as

Program needs to be in C

Program needs to be in C 2. SuperCool, a retail store, releases

2. SuperCool, a retail store, releases a new promotion for their customers. Detail of their promotion is presented as follows. a. First product receives 10% discount b. Second product receives 15% discount c. Third product receives 20% discount d. Forth product and so on, receives 25% discount Find a total price of a customer. 3. From previous question, write the followings functions for SuperCool and use these functions in your program a. base_price: this function will calculate base price (before tax and shipping fee for a customer) b. shipping_fee: estimate shipping fee for SuperCool. i. SuperCool will charge $5.99 for shipping fee if total price is less than $30 ii. Otherwise, it will provide a free shipping for their customers c. tax: estimate tax. i. Students will receive a free tax ii. Otherwise, 7% tax will be charged 2. SuperCool, a retail store, releases a new promotion for their customers. Detail of their promotion is presented as follows. a. First product receives 10% discount b. Second product receives 15% discount c. Third product receives 20% discount d. Forth product and so on, receives 25% discount Find a total price of a customer. 3. From previous question, write the followings functions for SuperCool and use these functions in your program a. base_price: this function will calculate base price (before tax and shipping fee for a customer) b. shipping_fee: estimate shipping fee for SuperCool. i. SuperCool will charge $5.99 for shipping fee if total price is less than $30 ii. Otherwise, it will provide a free shipping for their customers c. tax: estimate tax. i. Students will receive a free tax ii. Otherwise, 7% tax will be charged

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!