Last active
May 13, 2017 14:25
-
-
Save bigkiandi/2de50bc49debc1976e995604581151cc to your computer and use it in GitHub Desktop.
This file contains 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 | |
$permutasi = array('A','B','C','D'); | |
foreach ($permutasi as $a){ | |
foreach ($permutasi as $b) { | |
if($a == $b){ continue; } | |
echo $a.$b.", "; | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment