title: Need help making letters with asterisks
body: <p>I have to make the letters "T" "O" and "L" using asterisk in c++. The code asks for a size and the letter. This is what I have so far. Honestly I a not great with loops at all, how do i make the loops? some step by step explanation would be appreciated as well. Thanks a ton. Here is my code.</p>
  
  <pre><code>    #include&lt;iostream&gt;
      using namespace std;
  int main()
  {
      char T, O, L;
      char letter;
      int number, size;
      size = number % 2;
  
      cout &lt;&lt; "Welcome to the letter printer." &lt;&lt; endl;
      cout &lt;&lt; "Enter the size : " &lt;&lt; endl;
      cin &gt;&gt; size;
  
      while (size &lt;= 5 || size == 0)
      {
  
          cout &lt;&lt; "Invalid size. Enter the size again: ";
          cin &gt;&gt; size;
      }
  
      cout &lt;&lt; "Enter the letter: " &lt;&lt; endl;
      cin &gt;&gt; letter;
  
      while (letter != 'T' &amp;&amp; letter != 'O' &amp;&amp; letter != 'L')
      {
          cout &lt;&lt; "Invalid Letter. Enter the letter again:";
          cin &gt;&gt; letter;
          {
  
  
              while (letter == 'T')
              {
                  for (int i = 0; i &lt; size; i++)
                  {
                      for (int j = 0; j &lt; size; j++)
                      {
                          cout &lt;&lt; "*";
                      }
                      cout &lt;&lt; endl;
                  }
              }
          }
  
      }
  </code></pre>