adding one to a number
Hey there! I have been trying to do the below exercise but keep on getting stuck. I can't figure out how to have the program add one to the number... Here is the prompt, and my work is attached! Appreciate the help.
Write a program which asks for a person's favorite number. Have your program add one to the number, then suggest the result as a bigger and better favorite number. (Do be tactful about it, though.)
@hipstersgo i see your issue now, you are trying to add a integer to a string. You need to convert the variable Number to an int. I googled it because i don't know ruby so try adding this before you attempt to add 1 to number
If you find this as the solution press the check mark next to my comment