Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static double[] taxAmount (double pounds, double taxPercentage) {
- double taxAmount = pounds * taxPercentage/100;
- double[] taxAmountArray = new double[1];
- taxAmountArray[0] = taxAmount;
- return taxAmountArray;
- }
Add Comment
Please, Sign In to add comment