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