title: Pascal Triangle using Java
body: <p>I have searched in many sites, but I couldn't find the exact output of the following pascal triangle. Can anyone help me out of how to get the following output.</p>
  
  <pre><code>            1
            1   1
          1   2    1
       1    3    3    1
     1    4    6    4   1
  1    5    10   10    5   1
  </code></pre>