Skip to content

Instantly share code, notes, and snippets.

@rabestro
Last active December 14, 2020 09:27
Show Gist options
  • Save rabestro/b3c10d4b0ef31756122429a424b2acd1 to your computer and use it in GitHub Desktop.
Save rabestro/b3c10d4b0ef31756122429a424b2acd1 to your computer and use it in GitHub Desktop.
Bad Code Coding Challenge - Print the multiplication table
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