.


:




:

































 

 

 

 





. . char. , , . \0. , , . char [].

:

char name[40];

string.h.

/ . . . . .

. scanf () :

scanf (_, _);

, , . scanf () .

:

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:

lf, le - double :

Lf, Le - 1ong double .

. b, :

scanf(%f%f%f ,&a,&b,&c);

:

5 3.2 2.4 <Enter>

: a = 5,0, b = 3,2, = 2,4. , : , . Enter . .

- , :

Int a;





:


: 2015-09-20; !; : 673 |


:

:

- , - .
==> ...

1303 - | 1242 -


© 2015-2024 lektsii.org - -

: 0.009 .