Computer Programming - 3
<?php
for ($i = 1; $i <= 500; $i*=5) {
echo "A whippet walked around the oval this many times this year: $i.\n";
}
/*
https://www.w3schools.com/php/
https://www.w3schools.com/php/php_string.asp
This file is called Demo-PageThree.php, to run it, in a terminal type: php Demo-PageThree.php
The output is:
$ php Demo-PageThree.php
A whippet walked around the oval this many times this year: 1.
A whippet walked around the oval this many times this year: 5.
A whippet walked around the oval this many times this year: 25.
A whippet walked around the oval this many times this year: 125.
*/
?>
Create Your Own Website With Webador