Difference between revisions of "CSC220 Homework 2 2010"
(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 </td><td> </td><td> </td><td> </td><td> </td></tr> | ||
+ | <tr><td>1</td><td>1 </td><td> </td><td> </td><td> </td></tr> | ||
+ | <tr><td>1</td><td>2 </td><td>1 </td><td> </td><td> </td></tr> | ||
+ | <tr><td>1</td><td>3 </td><td>3 </td><td>1 </td><td> </td></tr> | ||
+ | <tr><td>1</td><td>4 </td><td>6 </td><td>4 </td><td>1 </td></tr> | ||
+ | </table> | ||
<br /> | <br /> |
Revision as of 13:49, 22 September 2010
--D. Thiebaut 18:45, 22 September 2010 (UTC)
Contents
Problem #1
- Write a Php program that displays the first 10 rows of Pascal's Triangle in a table.
1 | ||||
1 | 1 | |||
1 | 2 | 1 | ||
1 | 3 | 3 | 1 | |
1 | 4 | 6 | 4 | 1 |