Advertisement
rayhanf

varscope2

Mar 17th, 2023
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.20 KB | Source Code | 0 0
  1. program varscope2;
  2. uses crt;
  3.  
  4. procedure proc2;
  5. var a, b, d: integer;
  6. begin
  7.     writeln(a, b, c);
  8. end;
  9.  
  10. var a, b, c: integer;
  11. begin
  12.     clrscr;
  13.     a:=2; b:=9; c:=6; d:=10;
  14.     proc2;
  15.     readkey;
  16. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement