input operation
<p>Consider this problem<br>
User will enter input to one dimensional array<code>(char test[100])</code> in sequence of<br>
letter/space/index/space/letter....<br>
like this<br>
<strong>a 1 s 1 e 3 r 4 r 3 t 3</strong>  until an <code>'enter'</code>is hit.<br>
Index can be repeated as well as letter.<br>
So above sequence should mean <code>test[1]=a ,test[1]=s</code> and so on.<br>
To build this problem what I have thought is that <strong><em>I should test whether character entered is newline(enter) or not.</em></strong><br>
but i don't understand how to do that</p>

<p>can you suggest some code for this </p>
