Advertisement
tei123

php3

Oct 28th, 2016
365
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. <?php
  2. $i=0;
  3. $r=rand(0,100);
  4. while($r!=50)
  5. {
  6. $r=rand(0,100);
  7. echo $r;
  8. echo '<br>';
  9. $i++;
  10.  
  11. }
  12.  
  13. echo '<br>';echo '<br>';echo '<br>';
  14. echo 'liczba prob ';
  15. echo $i;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement