Question: I need this solved in ruby p Academy Admissions C... Slack Yansi Alvarez Jump... App Academy Open Ruby ft 1. even_count 1 > hef eve
p Academy Admissions C... Slack Yansi Alvarez Jump... App Academy Open Ruby ft 1. even_count 1 > hef eve 3 end 5>p even__ Write a method even_count that accepts an array of numbers. The method should return the count of even elements in the array. even_count([7, 10, 3, 4, 12, 1]) # => 3 even_count([8, 5, 9]) # => 1 even_count([13, 1]) # => 0 Rules: 1. Edit your code below and use the Run Code button to check the output. Do not use repl.it. Once the tests pass, your code for this question is good, and you can move on. 2. Your final code submission must not use any print statements. You may use them to help debug, but if you forget to remove them, they will cause your code to fail. 3. You may not share your code or these prompts with anyone else. This includes putting it on sites like github.com and repl.it, among others. Violating this rule will be grounds for immediate rejection and legal action if deemed necessary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
