GamerSK

sustava

Feb 15th, 2017
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.40 KB | None | 0 0
  1. program sustava;
  2. {$APPTYPE CONSOLE}
  3. uses SysUtils;
  4. var x,z:byte;
  5. begin
  6.   { TODO -oUser -cConsole Main : Insert code here }
  7.   write('Zadajte cislo x: ');
  8.   readln(x);
  9.   repeat
  10.     write('Zadajte cislo z: ');
  11.     readln(z);
  12.     if (0<z) and (z>=10) then writeln('Zadali ste spatne cislo!');
  13.   until (0<z) and (z<=10);
  14.   if (x<z) or (x>z) then writeln('Cislo moze byt zapisane');
  15.   readln;
  16. end.
Advertisement
Add Comment
Please, Sign In to add comment