Difference between revisions of "Be the Machine - if"

From Progzoo
Jump to: navigation, search
Line 30: Line 30:
 
     <td>Africa</td>
 
     <td>Africa</td>
 
     <td style='text-align:right'>1280</td>
 
     <td style='text-align:right'>1280</td>
     <td>91</td>
+
     <td style='text-align:right'>91</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>Cuba</td>
 
     <td>Cuba</td>
 
     <td>Americas</td>
 
     <td>Americas</td>
     <td>110</td>
+
     <td style='text-align:right'>110</td>
     <td>113</td>
+
     <td style='text-align:right'>113</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>Fiji</td>
 
     <td>Fiji</td>
 
     <td>Asia-Pacific</td>
 
     <td>Asia-Pacific</td>
     <td>18</td>
+
     <td style='text-align:right'>18</td>
     <td>8</td>
+
     <td style='text-align:right'>8</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>Iran</td>
 
     <td>Iran</td>
 
     <td>Middle East</td>
 
     <td>Middle East</td>
     <td>1650</td>
+
     <td style='text-align:right'>1650</td>
     <td>707</td>
+
     <td style='text-align:right'>707</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
 
     <td>Iraq</td>
 
     <td>Iraq</td>
 
     <td>Middle East</td>
 
     <td>Middle East</td>
     <td>438</td>
+
     <td style='text-align:right'>438</td>
     <td>265</td>
+
     <td style='text-align:right'>265</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>

Revision as of 19:35, 1 October 2009

Predict the output of each of the following programs.

name region area pop
Chad Africa 1280 91
Cuba Americas 110 113
Fiji Asia-Pacific 18 8
Iran Middle East 1650 707
Iraq Middle East 438 265
Laos Asia-Pacific 236 59
Mali Africa 1250 138
Oman Middle East 309 30
Peru South America 1280 280
Togo Africa 56 51

Problem 1


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 2


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 3


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 4


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 5


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 6


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 7


[Font] [Default] [Show] [Resize] [History] [Profile]

Problem 8


[Font] [Default] [Show] [Resize] [History] [Profile]