fixed some syntax shit

This commit is contained in:
vala 2019-12-02 18:43:29 +01:00
parent 1786441e13
commit 13a675403b

View File

@ -3,7 +3,7 @@ public class FuelFinder{
int[] tVals ={12,14,1969,100756}; int[] tVals ={12,14,1969,100756};
for (int a:tVals){ for (int a:tVals){
System.out.println("FuelNeeded(a)"); System.out.println("FuelNeeded(a)");
}
} }
public static int FuelNeeded(int inp){ public static int FuelNeeded(int inp){
return ((inp/3)*2); return ((inp/3)*2);