Php program to count 5 to 15

 

         Php program to count 5 to 15


<?php

 $count = 5;

 while($count <= 15)

 {

echo $count;

echo "<br>" ;

$count++;

}

?>


Check your output, Below is the model of the output 

Output

--------


5
6
7
8
9
10
11
12
13
14
15


If you enjoy learning please follow me for getting updates

Comments

Popular posts from this blog

What is computer ?

Flowchart Symbols & examples

Write a PHP program to check student grades based on marks