0_0_15511275_30049.cpp:1:1: error: 'PROGRAM' does not name a type
PROGRAM add(input,output);
^
0_0_15511275_30049.cpp:2:2: error: 'VAR' does not name a type
VAR
^
0_0_15511275_30049.cpp:4:2: error: 'BEGIN' does not name a type
BEGIN
^
0_0_15511275_30049.cpp:8:13: error: expected constructor, destructor, or type conversion before '(' token
readln(B);
^
0_0_15511275_30049.cpp:9:14: error: expected constructor, destructor, or type conversion before '(' token
writeln(A+B);
^
0_0_15511275_30049.cpp:10:5: error: 'end' does not name a type
end;
^
0_0_15511275_30049.cpp:11:2: error: 'END' does not name a type
END.
^
|