Difference between revisions of "CSC220 Homework 2 2010"

From dftwiki3
Jump to: navigation, search
(Created page with '--~~~~ ---- <center> <font size="+2">Page under construction!</font> <br \>300px </center> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br …')
 
Line 1: Line 1:
 
--[[User:Thiebaut|D. Thiebaut]] 18:45, 22 September 2010 (UTC)
 
--[[User:Thiebaut|D. Thiebaut]] 18:45, 22 September 2010 (UTC)
 
----
 
----
 
+
__TOC__
 
<center>
 
<center>
 
<font size="+2">Page under construction!</font>
 
<font size="+2">Page under construction!</font>
Line 7: Line 7:
 
</center>
 
</center>
  
 +
=Problem #1=
 +
 +
* Write a Php program that displays the first 10 rows of Pascal's Triangle in a table.
 +
 +
<table border="1">
 +
<tr><td>1&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
 +
<tr><td>1</td><td>1&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
 +
<tr><td>1</td><td>2&nbsp;</td><td>1&nbsp;</td><td>&nbsp;</td><td>&nbsp;</td></tr>
 +
<tr><td>1</td><td>3&nbsp;</td><td>3&nbsp;</td><td>1&nbsp;</td><td>&nbsp;</td></tr>
 +
<tr><td>1</td><td>4&nbsp;</td><td>6&nbsp;</td><td>4&nbsp;</td><td>1&nbsp;</td></tr>
 +
</table>
  
 
<br />
 
<br />

Revision as of 13:49, 22 September 2010

--D. Thiebaut 18:45, 22 September 2010 (UTC)


Contents

Page under construction!
UnderConstruction.jpg

Problem #1

  • Write a Php program that displays the first 10 rows of Pascal's Triangle in a table.
    
1   
1  
1 
1