Category : Pascal Source Code
Archive   : PASTUT.ZIP
Filename : READREAL.PAS

 
Output of file : READREAL.PAS contained in archive : PASTUT.ZIP
(* 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.




{ Result of execution

(The results depend on the data entered at the keyboard)

}


  3 Responses to “Category : Pascal Source Code
Archive   : PASTUT.ZIP
Filename : READREAL.PAS

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/