Runtimeanalysis19

0. What is the value of X printed by the following program?
program COMPUTE ( input, output );
var X : integer ;
procedure FIND ( X: real );
   begin
    X : = sqrt (X);
   end;
begin
   X : = 2
   FIND (X)
   writeln (X)
end

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *