Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 239 Bytes

README.md

File metadata and controls

8 lines (7 loc) · 239 Bytes

Loops-and-Iterations-Exercise-1

x = [1, 2, 3, 4, 5] x.each do |a| a + 1 end

This code had no output to display the value of 'a'. Therefore, when the value of a was changing it was not known by the user.