fixed some syntax shit

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

View File

@ -1,9 +1,9 @@
public class FuelFinder{ public class FuelFinder{
public static void main(string[] vala){ public static void main(string[] vala){
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);