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!

View gist:36f73ce6e561d0549dbf
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 / RyKe3-16-15homework
Created Mar 16, 2015
Ryan Keiper 3/16/15 bash profile homework
View RyKe3-16-15homework
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 ~
open -a "Sublime Text 2" ~/.bash_profile
You can’t perform that action at this time.