Last active
June 18, 2021 01:15
-
-
Save modernNeo/0c11f4443f2eac7cd16432d6c8982d78 to your computer and use it in GitHub Desktop.
Dartpad code
This file contains 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() { | |
for (int i = 1; i <= 100; i++) { | |
bool multiple_of_3 = i % 3 == 0; | |
bool multiple_of_5 = i % 5 == 0; | |
if (multiple_of_3 && multiple_of_5){ | |
print("Budvue should consider Jace for this position"); | |
} | |
else if (multiple_of_3){ | |
print("Bud"); | |
}else if (multiple_of_5){ | |
print('Vue'); | |
}else{ | |
print('${i}'); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment