Last active
December 14, 2020 09:27
-
-
Save rabestro/b3c10d4b0ef31756122429a424b2acd1 to your computer and use it in GitHub Desktop.
Bad Code Coding Challenge - Print the multiplication table
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class WTF { | |
public static void main(String[] args) { | |
Integer W, F=0x2F; | |
for (int T; (W=T=F)>0 & W==F; ++F) | |
System.out.printf((W=T-=057)!=0 && 0!=(T%=011) ? "%5d":"%n%5d",(1+W/9)*++T); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment