Advertisement
Guest User

Untitled

a guest
Oct 22nd, 2017
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.33 KB | None | 0 0
  1. function uzupelnij_plyny() {
  2.     if (suszy()) {
  3.         if (szklanka("pusta")) {
  4.             if (nalej_do_szklanki()) {
  5.                 return pij();
  6.             }
  7.         }
  8.     }
  9. }
  10.  
  11. function uzupelnij plyny() {
  12.     suszy();
  13. }
  14. function suszy() {
  15.     if (szklanka("pusta")) nalej_do_szklanki()
  16.     elseif (szklanka("pełna")) pij();
  17. }
  18. function nalej_do_szklanki() {
  19.     pij();
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement