I've got to display the first n natural prime numbers,n being introduced from the keyboard.
Example:n=5
There will be displayed 2 3 5 7 11
I've got no idea how should I begin writing the code,so I would appreciate if someone would help me with it.Or,at least explain me what I should do,and WHY.Please,do not use functions.