Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $x=1;
- while($x<=23)
- {
- $y=1;
- while($y<=23)
- {
- $z=1;
- while($z<=23)
- {
- if($x+$y+$z==25)
- {
- echo "x= ".$x.", y= ".$y.", z= ".$z."<br>";
- }
- $z++;
- }
- $y++;
- }
- $x++;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement