CLASS EXERCISE
What is displayed by the following program.
program EXERCISE1 (output);
var a, b : integer;
c : real;
begin
a := 1; b := 5; c := 1.20;
writeln('A = ', a + 3 );
writeln('B = ', b - 2 );
writeln('C = ', c / 2 )
end.
Class Exercise .. program display is
A = 4
B = 3
C = 6.0000000000E-01
Copyright B Brown/P Henry/CIT, 1988-1997. All rights reserved.