First commit of partial RosettaCode contents.
Pushing this for testing purposes. Lots of work still needed.
This commit is contained in:
commit
1e05ecd7ee
781 changed files with 9080 additions and 0 deletions
8
Task/FizzBuzz/Java/fizzbuzz-3.java
Normal file
8
Task/FizzBuzz/Java/fizzbuzz-3.java
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
public class FizzBuzz{
|
||||
public static void main(String[] args){
|
||||
for(int i= 1; i <= 100; i++){
|
||||
System.out.println(i % 15 != 0 ? i % 5 != 0 ? i % 3 != 0 ?
|
||||
i : "Fizz" : "Buzz" : "FizzBuzz");
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue