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
// prints each number from 1 to 100 on a new line. | |
// For each multiple of 3, print "Bud" instead of the number. | |
// For each multiple of 5, print "Vue" instead of the number. | |
// For numbers that are multiples of both 3 and 5, | |
// print "Budvue should consider $yourName for this position" instead of the number | |
void main() { | |
String yourName = 'Aaron'; | |
for (int i = 1; i <= 100; i++) { | |
if(i % 15 == 0){ |