Skip to content

Latest commit

 

History

History
9 lines (7 loc) · 363 Bytes

README.md

File metadata and controls

9 lines (7 loc) · 363 Bytes

Fork, clone, work on, add, commit, push, pull request this repo as usual.

Write a Ruby script to compute the following:

  1. Find the sum of numbers in the first row
  2. Find the sum of all numbers in the file
  3. How many numbers are in the file?
  4. How many of those are even? Divisible by 7?
  5. (Harder) Find a number with the same value and position in the list