Hi Everyone,

I'm doing an assignment for uni which is about a small shopping cart.

Could some please help me with these couple of maths calculation issues with c programming please:

- If the user inputs a weight that is greater than 2500grams, the charge would be $5.50 + $0.90 for every 400grams over 2500grams, i am able to do the calculate on an separate source code to see it works, but i am unsure how to include it to the original work that i am working on (if that makes any sense....) I have attached the source code for your reference and guidance!!

Thanking for your help !!!