var a: integer;begin readln(a); if (a > 0) then a := a + 1; writeln(a);end.
var a:integer;
begin
readln (a);
if (a>0) then
a:=a+1;
writeln (a);
end
else
end.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
a: integer;
begin
readln(a);
if (a > 0) then
a := a + 1;
writeln(a);
end.
Verified answer
var a:integer;
begin
readln (a);
if (a>0) then
begin
a:=a+1;
writeln (a);
end
else
writeln (a);
end.