1: 2:
PROCEDURE WriteFormatted(r: real; n: integer); begin WriteLn(r:0:n); end;
begin x := 10.0; end. 10.0 r:0:n 0 This program doesn't have output. We forgot to CALL the procedure!
A Function has input parameters, a Procedure doesn't A Function returns an output value, a Procedure doesn't A Procedure has input parameters, a Function doesn't A Procedure returns an output value, a Function doesn't