- #1
dcs1953
- 3
- 0
Code:
import java.util.Scanner;
public class ShippingCalculator {
public static void main (String [] args) {
int shipWeightPounds = 10;
int shipCostCents = 0;
final int FLAT_FEE_CENTS = 75;
shipWeightPound = shipCostCost / shipWeightPound;
final int CENTS_PER_POUND;
System.out.print("Weight(lb): " + shipWeightPounds);
System.out.print(", Flat fee(cents): " + FLAT_FEE_CENTS);
System.out.print(", Cents per pound: " + CENTS_PER_POUND);
System.out.println(", Shipping cost(cents): " + shipCostCents);
return;
}
}