Difference between revisions of "Boxes Tutorial"

From Progzoo
Jump to: navigation, search
Line 1: Line 1:
<div style='float:right'>[[Strings Tutorials|<< Strings Tutorial]] | [[Bricks Tutorial|Bricks Tutorial >>]]</div>
+
<div style='float:right'>[[Strings Tutorials|<< Strings Tutorial]] | [[For Tutorial|For Tutorial >>]]</div>
 
<div style='clear:right'></div>
 
<div style='clear:right'></div>
 
{{Table3
 
{{Table3

Revision as of 20:13, 24 September 2008

<< Strings Tutorial | For Tutorial >>
Testing Two Number
You compare two numbers i and j and change colour depending on their values.
Modulus
You can use the modulus operator to test for odd/even. You can also check if numbers are divisible by numbers other than 2.
Checking Ranges
You can test a range of numbers using the greater than and less than operators.