Why my code do not work?


I am learning Ruby from learn-ruby course, and have stuck at figure below:

I have try some other code, but nothing change.
Please help me to pass this exercise


The code is correct. The problem is with the interface.

Set first_name, etc. manually in lowercase, then in the next line following, apply .capitalize so the SCT can see it. Comment out all the gets.chomp lines.

Do not use .capitalize! unless the first character of the string is lowercase. Leave off the bang, !.


Thank you, I passed this exercise


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