Get value for a variable from user inside a module [duplicate]

I am writing a module. When I run the module, I want it to ask for a variable, like I can in other programing languages such as C++ or Python.

For example, in C++:

int i;
cout << "Please enter an integer value: ";
cin >> i;


I want something similar to the above in Mathematica.

-

marked as duplicate by m_goldberg, Oleksandr R., Jens, Yves Klett, bobthechemistMay 22 '14 at 20:51

How about Input? –  Öskå May 22 '14 at 12:24
That is good. How can I use Input iteratively? In order to input several variables at once. –  yashar May 22 '14 at 12:28
You can insert a List inside the Input[] field and it will returns this list: vars = Input[]; Head@vars will be a List if you provide {something, something else}. –  Öskå May 22 '14 at 12:30