Skip to Content
Learn
Create a Histogram
You Know the Drill

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

Instructions

1.

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?