4 ms·
refactored: class F{public static void main(String[]a){for(int i=0;i++<100;)System.out.println((i%3>0?"":"Fizz")+(i%5>0?i%3>0?""+i:"":"Buzz"));}}
by Aco- 14y ago
refactored:
class F{public static void main(String[]a){for(int i=0;i++<100;)System.out.println((i%3>0?"":"Fizz")+(i%5>0?i%3>0?""+i:"":"Buzz"));}}
- deleted 14y ago[deleted]
- WayneDB 14y agoThat's great, but we're here to make fun of "Enterprise" programming and anything associated with it. Now you come along and give us this simple example that works. I bet it would still be better in Javascript or Ruby because those are the only two languages that I know and everything is better as a web app anyway.