var
A, x: integer;
begin
read(A);
if(A > 0) then
x := A + 8
else
x := A - 8;
write(x);
end.
Program n_1;
var A, x: real;
if (A>9) then x:=A+8 else x:=A-8;
writeln(x);
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
var
A, x: integer;
begin
read(A);
if(A > 0) then
x := A + 8
else
x := A - 8;
write(x);
end.
Program n_1;
var A, x: real;
begin
read(A);
if (A>9) then x:=A+8 else x:=A-8;
writeln(x);
end.