Read Real Variables
 


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)

(c) Shilpa Sayura Foundation 2006-2017