diff --git a/2019December01.java b/2019December01.java new file mode 100644 index 0000000..d3b15c8 --- /dev/null +++ b/2019December01.java @@ -0,0 +1,12 @@ +public class FuelFinder{ + public static void main(string[] vala){ + int[] tVals = {12,14,1969,100756}; + for (int a:tVals){ + System.out.println("FuelNeeded(a)"); + + } + public static int FuelNeeded(int inp){ + return ((inp/3)*2); + } +} +