2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
12
Task/FizzBuzz/Processing/fizzbuzz-3
Normal file
12
Task/FizzBuzz/Processing/fizzbuzz-3
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
for (int i = 1; i <= 100; i++) {
|
||||
if (i % 3 == 0) {
|
||||
print("Fizz");
|
||||
}
|
||||
if (i % 5 == 0) {
|
||||
print("Buzz");
|
||||
}
|
||||
if (i % 3 != 0 && i % 5 != 0) {
|
||||
print(i);
|
||||
}
|
||||
print("\n");
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue