How to create class named Delivery_Details that will contain get and set methods for the town, weight, price and delivery company. Main class include a static method to handle the printing of the delivery report.
The cost for delivery a parcel is calculated according to the following :
Parcel Weight (kg)
0kg-4kg
5kg-9kg
Over 10kg
Cost for the delivery (R)
R300
R500
R700