MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1vda9j/deleted_by_user/ceru1um/?context=3
r/ProgrammerHumor • u/[deleted]
[deleted] — view deleted post
446 comments sorted by
View all comments
Show parent comment
1
Oh jesus yeah I properly butchered that code
for (int i = 1; i<=100; i++) { if (i%3==0 && i%5==0) System.out.println("FizzBuzz"); else if (i%3==0) System.out.println("Fizz"); else if (i%5==0) System.out.println("Buzz"); else System.out.println(i); }
Allll better
View all comments
Show parent comment
1
u/giggsy664 Jan 17 '14
Oh jesus yeah I properly butchered that code
Allll better