Advertisement
rayhanf

function

Mar 17th, 2023
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pascal 0.17 KB | Source Code | 0 0
  1. program kuadrat;
  2. uses crt;
  3.  
  4. function kuadratin(x: integer): integer;
  5. begin
  6.     kuadratin := x*x;
  7. end;
  8.  
  9. begin
  10.     clrscr;
  11.     writeln(kuadratin(kuadratin(2)));
  12.     readkey;
  13. end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement