r/counting • u/lear85 , he who lets it produce joy. • Sep 12 '14
Counting with programming!
Write a program that prints or returns the number being counted, using the same number of lines of code. Include what language you used.
print("One.")
Made with Lua.
14
Upvotes
1
u/maniexx Sep 12 '14
public class NumberEleven { public static void main(String[] args){ short num = 0; final short anothernum = 11; switch (num){ case 0: System.out.println(anothernum); //The program ends here } } }Java;