lib/HelloWorldFizzBuzz/sqlite.rb in HelloWorldFizzBuzz-0.1.3 vs lib/HelloWorldFizzBuzz/sqlite.rb in HelloWorldFizzBuzz-0.2.0

- old
+ new

@@ -28,10 +28,30 @@ ### B ### C ### D - +@posts.insert(language: 'dart', + helloworld: "void main() { + print('hello world!'); + } +", + fizzbuzz: "void main() { + for (var i = 1; i <= 100; i ++) { + if (i % 15 == 0) { + print('FizzBuzz'); + } + else if (i % 3 == 0) { + print('Fizz'); + } + else if (i % 5 == 0) { + print('Buzz'); + } + else { + print(i); + } + } +}") ### E ### F ### G