New to Ruby


I can seem to progress from thiis point. I always recieve an error message saying that the variable or method is incorrect.

63%10 3


Is this your code?

63%10 3

If so just take away the 3 at the end.

If that's not your code please copy your full code here so we can help.


Well, you posted exactly one line of Ruby code. This code indeed is
syntactically incorrect, but produces the error message "unexpected
tINTEGER, expecting $end", and not the one you are stating.

You need to provide more information about your problem.


Thanks it worked when i used a variable

x = 53%10


It should work regardless if you used a variable.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.