0_0_15131878_32146.cpp:1:1: error: 'program' does not name a type
program hdu2007;
^
0_0_15131878_32146.cpp:2:1: error: 'var' does not name a type
var
^
0_0_15131878_32146.cpp:4:3: error: 'begin' does not name a type
begin
^
0_0_15131878_32146.cpp:8:5: error: 'num' does not name a type
num:=0;
^
0_0_15131878_32146.cpp:9:5: error: 'nam' does not name a type
nam:=0;
^
0_0_15131878_32146.cpp:10:5: error: expected unqualified-id before 'if'
if(a>b) then begin t:=a; a:=b; b:=t; end;
^
0_0_15131878_32146.cpp:10:30: error: 'a' does not name a type
if(a>b) then begin t:=a; a:=b; b:=t; end;
^
0_0_15131878_32146.cpp:10:36: error: 'b' does not name a type
if(a>b) then begin t:=a; a:=b; b:=t; end;
^
0_0_15131878_32146.cpp:10:42: error: 'end' does not name a type
if(a>b) then begin t:=a; a:=b; b:=t; end;
^
0_0_15131878_32146.cpp:11:5: error: expected unqualified-id before 'while'
while (a<=b) do
^
0_0_15131878_32146.cpp:16:5: error: 'a' does not name a type
a:=a+1;
^
0_0_15131878_32146.cpp:17:5: error: 'end' does not name a type
end;
^
0_0_15131878_32146.cpp:18:12: error: expected constructor, destructor, or type conversion before '(' token
writeln(nam,' ',num);
^
0_0_15131878_32146.cpp:19:3: error: 'end' does not name a type
end;
^
0_0_15131878_32146.cpp:20:1: error: 'end' does not name a type
end.
^
|