PHP PROGRAMS
Tuesday, 11 February 2014
PROGRAM TO PRINT TABLE OF 5 IN PHP
INPUT:
<html>
<head><h1> Table of 5 till 20. </h1></head>
<?php
$sanket=1;$b=5;$c;
for($sanket=1;$sanket<=20;$sanket++)
{
$c=$b*$sanket;
echo "<b>5*".$sanket."=".$c."<br></b>";
}
?>
</head>
</html>
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment