C++  to calculate th shiping cost based on weight of package entered by user if the weight  less than or equal to 10kg th shiping cost 1500 if  between 10 and 20kg the cost  2000 otherwise cost 3000?

C++ to calculate th shiping cost based on weight of package entered by user if the weight less than or equal to 10kg th shiping cost 1500 if between 10 and 20kg the cost 2000 otherwise cost 3000?

quanswer.com