Перевести на Пайтон


var x,y:intrger;

begin

readln(x);


if x>0 then

y:=x+100

else if x=0 then
y:=20
else if x<0 then

y:sqr(x);

writeln(y);
end.​
Please enter comments
Please enter your name.
Please enter the correct email address.
You must agree before submitting.

Answers & Comments


Copyright © 2024 SCHOLAR.TIPS - All rights reserved.