Var
a,b,s:integer;
Begin
readln (a,b);
if (a mod 2 = 1)
then s := a + b
else if (a mod 2 = 0)
then s := a * b;
write(s);
End.
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Var
a,b,s:integer;
Begin
readln (a,b);
if (a mod 2 = 1)
then s := a + b
else if (a mod 2 = 0)
then s := a * b;
write(s);
End.