how to take user input in the form of an integer
Please help me. This is so irritating like i just want to take two integers and add them. Instead, it takes it in the form of a string and just concatenates them.
I've never used swift before, but looking things up, you may need to convert the readline() output into an int. I may be totally and utterly wrong though.