fixed some syntax shit
This commit is contained in:
parent
1786441e13
commit
13a675403b
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user