A simple program that reads a line from the keyboard and outputs the same line where every word is reversed
<p>A simple program that reads a line from the keyboard and outputs the same line where every word is reversed.</p>

<p><em>Note:</em> A word is defined as a continuous sequence of alphanumeric characters or hyphen (<code>-</code>).</p>
