Beginner1111 Beginner1111 - 1 year ago 91
Ruby Question

Syntax error, unexpected keyword_end and unexpected end_of_input

enter image description here

I don't know why i am getting this error

Answer Source

++ operator doesn't exist in Ruby. Just use += 1.