.


:




:

































 

 

 

 





. , .

. 8 . .. , , :

char name1[9], name2[9], name3[9];

.

. . :

char sch1, sch2, sch3;

. 10 - 220. unsigned short ( : 0 - 255). .. :

unsigned short cnt1, cnt2, cnt3;

. , , . - , float:

float sq1, sq2, sq3;

main():

int main(void)

(. .5.2).

- -:

printf("1. : , , , >");

, :

scanf("%s %c %d %f",name1, &sc1, &cnt1, &sq1);

stdio.h, :

#include <stdio.h>

%s, - %c, - %d, - %f. , .. . , %s, &.

- , .

. - 9 , - 11. 7, 11 13 . 47 .

- , '-', 47 . - , 47 . - . - , . - .

, - . . :

printf("| %9s | %c | %-3d | %5.1f |\n", name1, sc1, cnt1, sq1);

%s 9. %c. , . %d 3, - %f 5 . . 3 .

.

2

- :

  • x y;
  • t1;
  • t2;
  • t1 t2.

, .

ax - . , a*x, .

- .

c2-b2 (c+b)(c-b). ( 2) - . - , .





:


: 2016-11-02; !; : 602 |


:

:

.
==> ...

1215 - | 1186 -


© 2015-2024 lektsii.org - -

: 0.012 .