Why is gets not preferred instead of gets.chomp?
1.Gets add an extra new line while chomp removes it
2.Gets remove an extra new line
3.Chomp erases the value stored in the variable
4.All of the mentioned
Answer:1
Posted Date:-2022-02-07 11:11:00