Answer:
The solution code is written in Python:
Explanation:
Based on the information given in the question, we presume the cost per 500 miles is $1.10 per pound ($2.20 / 2 pound).
Create a variable COST_PER_500MI to hold the value of cost per 500 miles (Line 1). Next, prompt user input the weight and assign it to variable weight (Line 3). Calculate the shipping charge and display it using print function (Line 4-5).