Answer:
The solution code is written in Python:
- COST_PER_500MI = 1.1
-
- weight = float(input("Enter weight of package: "))
- total_cost = weight * COST_PER_500MI
- print("The shipping charges is $" + str(round(total_cost,2)))
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).
C) End is the key that moves the insertion point to the end of data in a cell.
Answer:
Magnetism
Explanation:
Magnetism or magnetic energy is a natural phenomenon, we can find magnetism in some materials like nickel, cobalt, and iron, or their alloys are magnets, this was produced the first time in Greece at the city Magnesia del Meandro, for this city is the name magnetism, there were stones that attracted and this was called natural magnetism.