Family Day update
This commit is contained in:
parent
aac6731f2c
commit
9ad63ea473
2442 changed files with 39761 additions and 8255 deletions
|
|
@ -1,11 +1,10 @@
|
|||
for(int i = 1; i <= 100; i++){
|
||||
String output = "";
|
||||
|
||||
if(i % 3 == 0) output += "Fizz";
|
||||
if(i % 5 == 0) output += "Buzz";
|
||||
// copy & paste above line to add more tests
|
||||
|
||||
if(output == "") output = int(i);
|
||||
println(output);
|
||||
}
|
||||
String output = "";
|
||||
|
||||
if(i % 3 == 0) output += "Fizz";
|
||||
if(i % 5 == 0) output += "Buzz";
|
||||
// copy & paste above line to add more tests
|
||||
|
||||
if(output == "") output = str(i);
|
||||
println(output);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue