When you cascade cin such as
cin >> var1 >> var2;
it can recognize the two values when the user presses enter or space...
eg.
Enter 2 numbers: 4 5
or:
Enter 2 numbers: 4
5
when i try to put anything else in there it outputs the value weird...
eg. Enter 2 numbers: 4,5
or Enter 2 numbers: 4 t 5
why can the compiler only distinguish between spaces and return chars and why?