Created
October 6, 2021 05:59
-
-
Save suragch/55f437d34d03d8769e5986e720688703 to your computer and use it in GitHub Desktop.
homework
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() { | |
const number = 3; | |
if (number == 0) { | |
print('zero'); | |
} else if (number == 1) { | |
print('one'); | |
} | |
// if 0 then print 'zero' | |
// if 1 then print 'one' | |
// if 2 then print 'two' | |
// if 3 then print 'three' | |
// if 4 then print 'four' | |
// if 5 then print 'five' | |
// if 6 then print 'six' | |
// if 7 then print 'seven' | |
// if 8 then print 'eight' | |
// if 9 then print 'nine' | |
// else print "I don't know" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment