DEV Community

Luke O'Connell
Luke O'Connell

Posted on

Today I learned - leap year exercise

Today I completed the leap year exercise in the Ruby gym. I was stuck on this one before but was able to figure it out after coming back to it. I used nested if statements to solve this problem. I also used string interpolation in this problem.

Top comments (0)