-
-
Save anonymous/49d6b0402a0d21a5a66cbe23efc59450 to your computer and use it in GitHub Desktop.
function calling and while loops
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
while input.length != 8 | |
puts 'What is your 8 bit binary code?' | |
STDOUT.flush | |
input = gets.chomp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment