Created with <3 with dartpad.dev.
Last active
September 4, 2022 06:11
-
-
Save hongsw/876f733c2cc2d00d453e7da917d17900 to your computer and use it in GitHub Desktop.
primal-gust-2068
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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