Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $val = 3;
- $next = null;
- $result = $val * 1;
- echo "Multipleque: 3 x 1 = ".$result."<br>";
- for($i=0;$i<9;$i++){
- $next = $result;
- $result = 3 * $result;
- echo "Multipleque: 3 x " . $next . " = " . $result . "<br>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement