Got something to write about? Check out our Article Builder.

View \INTVAR2.PAS

This is the second disk of the PASCAL TUTOR system. It has the

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)


(* Chapter 3 - Program 2 *)
program More_Integer_Demos;

var X,Y      : integer;
    Count    : integer;

begin
   X := 12;
   Y := 13;
   Count := X + Y;
   Write('The value of X is');
   Writeln(X:4);
   Write('The value of Y is');
   Writeln(Y:5);
   Write('And Count is now ');
   Write(Count:6);
   Writeln;
end.

corner
© 1996-2008. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin.
bootstrapLabs Logo A bootstrapLabs project.