Last active
January 28, 2021 16:40
-
-
Save gulgulia17/094ca02b5136e7079627a816f94c53ef to your computer and use it in GitHub Desktop.
TO FIND THE DIVISIBLE NUMBER BY USE RINPUT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $number = 1234; | |
| for($x=2;$x<$number/2;$x++) | |
| { | |
| echo $number % $x ? null : "<br>$x"; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment