ВУЗ: Не указан
Категория: Не указан
Дисциплина: Не указана
Добавлен: 08.08.2024
Просмотров: 29
Скачиваний: 0
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
w. |
|
|
|
|
o |
||
|
|
|
|
|
|
|
. |
|
||
|
|
|
|
|
A BBYY |
c |
|
|||
|
|
|
|
|
|
|
, |
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
w. |
|
|
|
|
o |
||
|
|
|
|
|
|
|
. |
|
||
|
|
|
|
|
A B BYY |
c |
|
|||
|
|
|
|
|
|
|
:
m=84.299999 k=-12 p=3.21500e+01
, \t
, . ,
.
:
. — , , —
( ). %
.
.
:
, , ,
.
:
. scanf()
:
6
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
|
|
|
|
|
o |
||
|
|
|
|
w. . |
|
|||||
|
|
|
|
|
A BBYY |
c |
|
|||
|
|
|
|
|
|
|
scanf( , ); |
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
w. |
|
|
|
|
o |
||
|
|
|
|
|
|
|
. |
|
||
|
|
|
|
|
A B BYY |
c |
|
|||
|
|
|
|
|
|
|
, ,
. scanf()
. 1 :
scanf("%f",&a);
"%f" - ; & — ,
. .
, scanf(),
. scanf()
, ,
, , .
— , ,
&. « ».
, .
( printf) .
%,
.
:
d — ( int);
u — ( unsigned int);
f — ( float) ;
— ( float) .
. — ,
, , .
printf(), scanf()
h, l, L.
:
hd — short int;
ld — long int;
7
AB
|
|
|
|
|
F Tran |
sf |
|
|
|
|
|
|
|
|
F Tran |
sf |
|
|
||||||
|
|
|
|
D |
|
|
|
|
|
|
|
|
|
D |
|
|
|
|
||||||
|
|
Y |
P |
|
|
|
|
or |
e |
|
|
|
Y |
P |
|
|
|
|
or |
e |
||||
B |
Y |
|
|
|
|
|
|
|
|
m |
|
B |
Y |
|
|
|
|
|
|
|
|
m |
||
|
|
|
|
|
|
buy |
r |
B |
|
|
|
|
|
|
buy |
r |
||||||||
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
2 |
|||||||||
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
0 |
|||||||
|
|
|
|
|
|
|
to |
|
|
|
. |
A |
|
|
|
|
|
|
|
to |
|
|
|
. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
|
|
|
here |
|
|
|
|
||
|
|
|
|
Click |
|
|
|
|
|
|
|
|
|
|
Click |
|
|
|
|
|
||||
w |
|
|
|
|
|
|
m |
|
w |
|
|
|
|
|
|
m |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
w |
w. . |
o |
|
|
|
w |
w. . |
o |
||||||||||||||
|
|
|
|
|
A BBYY |
c |
lf, |
|
|
|
|
|
|
A B BYY |
c |
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
le — double |
|
|
|
|
|
|
;
Lf, Le — long double
.
1 , b, :
scanf("%f%f%f",&a,&b,&c);
:
5 3.2 2.4 <Enter>
: = 5,0, b = 3,2, = 2,4.
,
: , . Enter
, , .
.
i++. i++,
,
stdio.h, . ++
.
,
iostream.h.
:
in — ;
cout — .
in
. ++ ,
>>. ,
cin>>x;
cout ,
. , , .
<<. :
cout<<a+b;
ut<<"\n ="<<Y;
8
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
w. |
|
|
|
|
o |
||
|
|
|
|
|
|
|
. |
|
||
|
|
|
|
|
A BBYY |
c |
|
|||
|
|
|
|
|
|
|
cout<<"x="<<x<<" y="<<y<<" z="<<z<<endl;
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
w. |
|
|
|
|
o |
||
|
|
|
|
|
|
|
. |
|
||
|
|
|
|
|
A B BYY |
c |
|
|||
|
|
|
|
|
|
|
,
, , printf();
<<. endl
, ( ,
\n).
.
.
, setf(). ,
, ,
. .
1
++.
1. (
):
2.
.
.
b ?
.
ax2 + bx + = 0
, b ( , ? 0 ).
9
AB
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
D |
|
|
|
|||
|
|
Y |
P |
|
|
|
|
or |
e |
|
B |
Y |
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
|||
|
|
|
|
|
|
|
|
0 |
||
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
||||
|
|
w |
|
|
|
|
|
o |
||
|
|
|
|
w. . |
|
|||||
|
|
|
|
|
A BBYY |
c |
, |
|||
|
|
|
|
|
|
|
3. |
, false — .
|
|
|
|
|
|
F Tran |
sf |
|
|||
|
|
|
|
|
D |
|
|
|
|||
|
|
|
Y |
P |
|
|
|
|
or |
e |
|
|
B |
Y |
|
|
|
|
|
|
|
m |
|
B |
|
|
|
|
|
|
buy |
r |
|||
|
|
|
|
|
|
|
2 |
||||
|
|
|
|
|
|
|
|
0 |
|||
A |
|
|
|
|
|
|
|
to |
|
|
. |
|
|
|
|
|
|
|
|
|
|
||
|
|
|
|
|
|
|
here |
|
|
|
|
|
|
|
|
|
Click |
|
|
|
|
||
|
w |
|
|
|
|
|
m |
||||
|
|
|
|
|
|
|
|
||||
|
|
|
w |
|
|
|
|
|
o |
||
|
|
|
|
|
w. . |
|
|||||
|
|
|
|
|
|
A B BYY |
c |
|
|||
true, |
|
|
|
|
|
.
N .
4., true,
( , ) , false — :
1.
:
32.4 87 0.05 4567 2314.45 <Enter>
?
2. : k-f . ,
( ) ( ) . , k=
13257 = 3 36000 + 40 x 60 + 57, H = 3, = 40. :
... ... ». i .
10