home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Source Code 1992 March
/
Source_Code_CD-ROM_Walnut_Creek_March_1992.iso
/
msdos
/
pascal
/
pascsrc.arc
/
READREAL.PAS
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS/Acorn
UTF-8
Wrap
Pascal/Delphi Source File
|
1988-01-15
|
429 b
|
16 lines
(* 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.