program tinh_tong;
uses crt;
var
fin,fout:text;
S,a,b:integer;
begin
writeln('Moi nhap a = '); readln(a);
writeln('Moi nhap b = '); readln(b);
assign(fout,'KETQUA.OUT');
rewrite(fout);
S:=a+b;
write(fout,S);
close(fout);
end.
Đúng 1
Bình luận (2)