How do you take input from a user and print output in Ruby? Compare `puts`, `print`, `p` and `pp`.

Topic: rails, Ruby Fundamentals. Level: Basic.

The full answer to this question is available to Interview Reader members. See what is free and what Premium adds.