Monday, 22 June 2015

PHP program to demonstrate the usage of for loop

<?php
for ($i = 0; $i <= 10; $i++) {
    echo "The number is: $i <br>";
}
?>

output

No comments:

Post a Comment