*/
If you have a PH account, you can customize your PH profile.
*/

View \READREAL.PAS

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

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


(* Chapter 10 - Program 3 *)
program Read_Some_Real_Variables;

var Index : byte;
    Number            : integer;
    Real1,Real2,Real3 : real;

begin
   Writeln('Read some Real variables');
   for Index := 1 to 5 do begin
      Write('Enter an integer and 3 reals ');
      Readln(Number,Real1,Real2,Real3);
      Writeln(Number:20,Real1:12:3,Real2:12:3,Real3:12:3);
   end;
end.

corner
© 1996-2008 CommunityHeaven LLC. 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.
North American business development: Nicolai Wadstrom. Publisher: Lars Hagelin.