Skip to content

Instantly share code, notes, and snippets.

@utkumalkocoglu
Created November 5, 2013 12:36
Show Gist options
  • Save utkumalkocoglu/7318430 to your computer and use it in GitHub Desktop.
Save utkumalkocoglu/7318430 to your computer and use it in GitHub Desktop.
array = [ "fat", "bat", "rot"] dizisindeki elemanlara "man" ekleyecek kod aşağıdaki seçeneklerden hangisidir?
Select one:
a. counter = 0
array = [ "fat", "bat", "rat"]
while counter < array.length
puts array[counter] + "man"
counter += 1
end Correct
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment