forked from vala/bottom-tier-java
Added more shitty java code for everyone to laugh at
This commit is contained in:
parent
faf738cc2b
commit
1786441e13
12
2019December01.java
Normal file
12
2019December01.java
Normal file
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user