Advertisement
sphinx2001

task 2

Sep 22nd, 2019
254
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.20 KB | None | 0 0
  1. var
  2. N: integer;
  3. begin
  4.   repeat
  5.     readln(N);
  6.     if (N>0) and (N<10) then
  7.     begin
  8.       N := N*N;
  9.       exit;
  10.     end
  11.     else    
  12.       writeln('vv dr chislo');
  13.    until 1 <> 1;
  14. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement