Skip to content

Instantly share code, notes, and snippets.

Challenge: Find the number that appears most frequently in the array!

Use Javascript to find which number in the starter code array is the most common.

Good luck!

puts "C-3P0, human-cyborg relations."
puts "What is your name?"
name = gets.chomp
puts "It is a pleasure to meet you, #{name}. Have you ever met a protocol droid before?"
met_a_droid = gets.chomp
@ryankeiper
ryankeiper / RyKe3-16-15homework
Created March 16, 2015 20:31
Ryan Keiper 3/16/15 bash profile homework
export PATH="/usr/local/bin:$PATH"
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
echo "Hello Dave."
cd ~
profile(){
open -a "Sublime Text 2" ~/.bash_profile
}