Answer the question
In order to leave comments, you need to log in
Why are two doubles not compared?
double x, y;
printf("Input x and y: "); scanf_s("%lf", &x); scanf_s("%lf", &y);
if (y > 1)
{
printf("Vasha tochka prinadleshit oblasti: x(-infinity;+infinity), y[1;+infinity)\n");
}
else if (y >= -3.0 && y <= -4.0)
{
printf("Vasha tochka prinadleshit oblasti: x(-infinity;+infinity), y[-3;-4]\n");
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question