How to create a console application that will read input from the user and assign the input to a variable? The problem is that I need to enter several words on one line, separated by spaces of the type "ab cd efg", and then assign ab to one variable, cd to another variable and efg to another variable. Also entered words can be any.
source
share