I have a program in ruby which asks to enter a number. When I enter a char, I want to terminate the loop and show sum of all entered integers.
I have a program in ruby which asks to enter a number. When I enter a char, I want to terminate the loop and show sum of all entered integers.