Skip to content

Instantly share code, notes, and snippets.

@Iainmon
Created April 25, 2018 08:04
Show Gist options
  • Save Iainmon/b26853d7aeb49bcd1c950da76284d147 to your computer and use it in GitHub Desktop.
Save Iainmon/b26853d7aeb49bcd1c950da76284d147 to your computer and use it in GitHub Desktop.
Ruby sample
puts “Enter an integer: “
num = gets
puts “You entered: #{num}”
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment