.


:




:

































 

 

 

 





:

#include <stdio.h>

.. -.

:

int main(void) {

, 5.2.

double x, y;

: printf(" x >"); scanf("%lf",&x); printf(" y >"); scanf("%lf",&y); : printf("x=%6.3lf; y=%6.3lf\n",x,y); . . , , " ": if ((y>=1x)&& (x*x+y*y<=1)) , : printf(" \n"); : else printf(" \n");

.

#include <stdio.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 ((y>=1x) && (x*x+y*y<=1))

printf(" \n");

else printf(" \n");

return 0; }.

, . , , . :

1) (0.4, 0.4);
2) (0.5, 0.5);
3) (0.7, 0.6);
4) (0.707, 0.707);
5) (0.8, 0.8);
6) (1.0, 0.0);
7) (0.0, 1.0).

4

C

1.

2.

3.

4.

5.

5.1.

5.2.

5.3.

5.4.

C.

C.

- . !!!!!!!!!!!!!!! .

1 N , .
2 N . . .
3 L . L , L. , 6=1+2+3 28=1+2+4+7+14.
4 N , .
5 N .
6 . .
7 , 0 . .
8 .
9 , 0 . , . . .
10 . .
11 , 0 . , .
12 N , .
13 . , M.
14 N , M.
15 N , M.

 

16 . , .
17 , 0 . .
18 . , .
19 N , M.
20 , 0 . .
21 , M, N.
22 , 0 . .
23 N , .
24 . .
25 N , M.
26 N , 3 M. .
27 . .
28 , 0 . , .
29 N , .
30 . , M 2.
31 ,0 . , M.
32 ,0 . , M .
33 ,0 . , M.
34 . , M.
35 . , .. 0 9. N, , . , 5, 4, 3, 2, 1, : 5+4 10+3 100+2 1000+1 10000=12345.
36 , 0 . , .
37 . , M.
38 ,0 . , M.
39 N , .
40 . .

5.

,

0.000001 10 .





:


: 2018-11-12; !; : 270 |


:

:

, .
==> ...

1529 - | 1415 -


© 2015-2024 lektsii.org - -

: 0.012 .