Skip to content

Instantly share code, notes, and snippets.

@hongsw
Last active September 4, 2022 06:11
Show Gist options
  • Save hongsw/876f733c2cc2d00d453e7da917d17900 to your computer and use it in GitHub Desktop.
Save hongsw/876f733c2cc2d00d453e7da917d17900 to your computer and use it in GitHub Desktop.
primal-gust-2068
void main() {
FizzBuzz f = FizzBuzz();
for (int i = 0; i < 5; i++) {
print(f.myTurn());
}
for (int i = 0; i < 5; i++) {
print(f.myTurn());
}
}
class FizzBuzz {
int turn = 0;
myTurn(){
turn += 1;
return turn;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment