Canon/open_set/01_var_defn2.pas

11 lines
144 B
ObjectPascal
Raw Normal View History

2024-03-09 20:11:27 +08:00
{test domain of global var define and local define}
program main;
var
a, b: integer;
begin
a := 3;
b := 5;
a := 5;
write(a + b);
end.