INPUT:
<html>
<head><h1> Display numbers from 1 to 10 using <strong><i>Do-while loop</i></strong></h1> </head>
<body>
<H1>
<?php
$sanket=1;
do
{
echo $sanket."<br>";
$sanket++;
}
while($sanket<=10)
?>
</h1>
</body>
</html>
No comments:
Post a Comment