You need to write a method that calculates the shipping cost for an appliance, which depends on the item's 3D dimensions and weight. What should be the inputs and their data types for this method?
A) double width, double height, double depth, double weight;
B) double size, double weight;
C) double size, double weight, double price;
D) double size, double weight, double shipping cost;