Guest User

Mario Saldinger

a guest
Jan 23rd, 2011
119
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. program Sum;
  2.  
  3. var
  4.     f: text;
  5.     a: integer;
  6.     b: integer;
  7.  
  8. begin
  9.     assign( f, 'sum.in' );
  10.         reset( f );
  11.  
  12.         read( f, a, b );
  13.     close( f );
  14.  
  15.     assign( f, 'sum.out' );
  16.         rewrite( f );
  17.  
  18.         writeln( f, a + b );
  19.     close( f );
  20. end.
RAW Paste Data