[ create a new paste ] login | about

Link: http://codepad.org/mdkPmbDf    [ raw code | output | fork ]

PHP, pasted on Feb 9:
1
2
3
4
5
6
7
8
9
10
11
12
<?php

$originalvalue = 7;
$upperlimit = 28;

for($positiveint= 7; $positiveint <= $upperlimit; $positiveint = $positiveint + $originalvalue)
{
echo (" ");
echo ($positiveint);
}

?>


Output:
1
 7 14 21 28


Create a new paste based on this one


Comments: