Write a program to accept any number and check wether it is divisible by 9 ot not
<title>Write a program to accept any number and check wether it is divisible by 9 ot not</title>
<?php
/* Write a program to accept any number and check wether it is
divisible by 9 ot not.*/
$n=3;
if($n%9==0)
{
print"Divisible";
}
else
{
print"Not Divisible";
}
?>
No comments:
Post a Comment