Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for($i=0;$i<$c;$i++) {
- for($j=0;$j<$c;$j++){
- if($i==$j&&!($j==($c-1))){
- $j++;
- }
- elseif($i==$j&&($j==($c-1))){
- $i++;
- $j=0;
- }
- elseif($i==$j&&($i==($c-1))&&($j==($c-1))){
- echo "to koniec obliczania";
- }
- else{
- if($y[$i]==$y[$j]){
- $q++;
- echo "$q ";
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement