0_0_14875378_17887.cpp:1:1: error: 'program' does not name a type
program hdu2001;
^
0_0_14875378_17887.cpp:2:1: error: 'var' does not name a type
var
^
0_0_14875378_17887.cpp:4:1: error: 'begin' does not name a type
begin
^
0_0_14875378_17887.cpp:8:5: error: 'd' does not name a type
d:=sqrt((x1-x2)*(y1-y2)+(y1-y2)*(y1-y2));
^
0_0_14875378_17887.cpp:9:12: error: expected constructor, destructor, or type conversion before '(' token
writeln(d:0:2);
^
0_0_14875378_17887.cpp:10:3: error: 'end' does not name a type
end;
^
0_0_14875378_17887.cpp:11:1: error: 'end' does not name a type
end.
^
|