Please write C language code to solve the following problems. Please follow the comment and style requirements as discus
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Please write C language code to solve the following problems. Please follow the comment and style requirements as discus
statement to determine the appropriate discount rate). 2. Shipping costs. A shipping company charges the shipping cost based on the weight of the package and the distance shipped (based on 3 zones: A, B or C). Zone A (within the continental US): $5 per pound Zone B (within North or Central America, but outside the US): $10 per pound Zone C (South America, Europe): $20 per pound Write a C program that would ask user the weight of the package (in pounds) and the zone (A, B or C). You would then calculate the cost of the shipping the package.
Please write C language code to solve the following problems. Please follow the comment and style requirements as discussed in the class. To submit the assignment, upload the code files only to Canvas. 1. Quantity Discount. A supplier gives quantity discount for buying larger quantity of items: Quantity Discount 1-2 1% 3-5 3% 6-8 5% >8 8% Write a program that takes quantity and price of items ordered and returns the total amount to be charged. Assume a 6% additional tax would be included to the total. (Use if