Why my code do not work?


#1

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


#6

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, !.


#7

Thank you, I passed this exercise


#8

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