Time for an 2014 update…
This commit is contained in:
parent
372c577f83
commit
09687c4926
2520 changed files with 34227 additions and 7318 deletions
5
Task/FizzBuzz/Processing/fizzbuzz-2
Normal file
5
Task/FizzBuzz/Processing/fizzbuzz-2
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
for (int i = 0; i < width; i++) {
|
||||
stroke((i % 5 == 0 && i % 3 == 0) ? #FFFF00 : (i % 5 == 0) ? #00FF00 : (i % 3 == 0) ? #FF0000 : #0000FF);
|
||||
line(i, 0, i, height);
|
||||
println((i % 5 == 0 && i % 3 == 0) ? "FizzBuzz!" : (i % 5 == 0) ? "Buzz" : (i % 3 == 0) ? "Fizz" : i);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue