Bob Shipping Company will ship your package based on the weight and how far you are sending the package, which can be anywhere in the world. They will only ship small packages up to 10 pounds. You need to write a program, which will help you determine how much they will charge. 

 
The charges are based on  a flat rate per weight range and each 500 miles shipped/segment.
Please see attached file for instruction.