Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- program helloworld;
- var x,y:real;
- BEGIN
- write('Vvedite x and y: ');
- readln(x,y);
- if (((x>=-9) and (x<=-5) and (y=2*x*x)) or ((x>=-5) and (x<=-4) and (y=2)) or ((x>=-4) and (x<=0) and (y=x/2)) or ((x>=0) and (x<=3) and (y=x*x/2)) or ((x>=3) and (x<=4) and (y=2*x))) then writeln('Nasha tochka') else writeln('Kak uebu');
- END.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement