Created
October 26, 2012 19:40
-
-
Save alexesDev/3960994 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <stdio.h> | |
| #include <math.h> | |
| int main(void) | |
| { | |
| double x, y; | |
| printf("Введите координату x >"); | |
| scanf("%lf", &x); | |
| printf("Введите координату y >"); | |
| scanf("%lf", &y); | |
| printf("x=%6.3lf; y=%6.3lf\n", x, y); | |
| if(fabs(y) <= 1 && fabs(y) >= fabs(x)) | |
| printf("Точка попадает в область\n"); | |
| else | |
| printf("Точка не попадает в область\n"); | |
| return 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment