Please help. There was no clear example of this code.
Define two methods in the editor:
A greeter method that takes a single string parameter, name, and returns a string greeting that person. (Make sure to use return and don’t use print or puts.)
A by_three? method that takes a single integer parameter, number, and returns true if that number is evenly divisible by three and false if not.
This is my code below:
if number % 3 == 0
if !(number % 3 == 0)