Skip to Content
Create a Histogram
You Know the Drill

You know by now how we’ll start: we need to get input from the user.



Use a puts statement to prompt the user for input. Use gets.chomp to save this input to a variable called text.

Folder Icon

Take this course for free

Already have an account?