[Solved] Gets.chomp not working

[ad_1]

You are supposed to enter values, not just press enter, when prompted after running the program:

# ⇓   prompt ⇓   ⇓⇓ YOUR INPUT!!! 
How old are you? 35

Sidenote: parentheses after chomp are redundant and not ruby idiomatic.

0

[ad_2]

solved Gets.chomp not working