Skip to content

Instantly share code, notes, and snippets.

View dora-gt's full-sized avatar

Taiga Nakayama dora-gt

View GitHub Profile
@dora-gt
dora-gt / fizzbuzz.dart
Created October 14, 2011 07:42 — forked from VoQn/fizzbuzz.dart
Google が Dart 公開したから早速 FizzBuzz
main () {
var tmp = null;
for (var i=0;++i<101;) {
print ((tmp = (i%3?'':'Fizz')+(i%5?'':'Buzz')) == '' ? i : tmp);
}
}