home *** CD-ROM | disk | FTP | other *** search
/ Collection of Hack-Phreak Scene Programs / cleanhpvac.zip / cleanhpvac / PASCSRC.ZIP / INTVAR.PAS < prev    next >
Pascal/Delphi Source File  |  1988-01-15  |  327b  |  15 lines

  1.                                 (* Chapter 3 - Program 1 *)
  2. program Integer_Variable_Demo;
  3.  
  4. var Count     : integer;
  5.     X,Y       : integer;
  6.  
  7. begin
  8.    X := 12;
  9.    Y := 13;
  10.    Count := X + Y;
  11.    Writeln('The value of X is',X:4);
  12.    Writeln('The value of Y is',Y:5);
  13.    Writeln('And Count is now ',Count:6);
  14. end.
  15.