I
I
Ivan Moor2021-05-22 15:48:27
Pascal
Ivan Moor, 2021-05-22 15:48:27

How to determine if the point M(x, y) belongs to the shaded area?

I would be very grateful, thanks.
60a8f50f87668031772434.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Moor, 2021-05-22
@justsimpleman

What is wrong
var x,y:real;
begin
WriteLn('Enter the coordinates of the point x, y');
Readln(x, y);
WriteLn('Point with coordinates');
if (x<0)and(y>0)and(yx<=1)
then
WriteLn('Yes')
else
WriteLn('No')
End.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question