title: Changing a capital letter (read from cin) to lower case?
body: <blockquote>
    <p>i wanna change the capital cin to lower case for the input , for example if cin>> one 
    one=R it should be r so it convert it automatically </p>
  </blockquote>
  
  <pre><code>    #include &lt;cctype&gt;
  #include &lt;iostream&gt;
  
  using namespace std;
  int main ()
  {
      string one;
      string two;
  cout &lt;&lt; "\nPlayer One, please enter your move: ('p'  for Paper, 'r' for Rock, '$
  cin &gt;&gt; one;
  
  cout &lt;&lt;"\nPlayer Two, please enter your move: ('P' for Paper, 'R' for Rock, 'S'$
  cin &gt;&gt; two;
  </code></pre>