.


:




:

































 

 

 

 


. ұ ?




. ә , ң қ ұққ қ ?

ң ғ ү . қ қ ғғ . - ү ү ғ .

ғ ү ұқ . ғ ү ұ. ң ә ғ. Ә ғ . ң құғ . қғ . ғ қ ү ұқ . : қ қ ; қ ; ; ғ ө ә , ... ә ұғ ұқ ө ұ, ң ғ қ ә ө, ө ғ ү .

 

. ө өң қ ? қ ә қ ?

PASCAL ө өң қ string . ұ қ. ө char ө қ, ғ ө ө қ char ө . ө қ ө ң , ´ \0 ´ қ қ ( ң ө-). қ k , k+1 ө . , char a[7] ң 6 ұ, ңғ ө . (қ) қ қғ ғ .

ә құң

#include <stdio.h>

#include <math.h>

#include <conio.h>

main()

<

float x,y;

clrscr();

printf(қ ү ә ң;);

scanf (%f,&x);

if(x<2)

y=(exp(sinx\2)+sin(exp(x/4)))/x*x+2

else (x>+2)

y=2*x*x+1/sqrt(3*3)

printf(x=%fғ y=%10,6f\n, x,y);

getch()

>

1-. ң қ қ , ө .

ұғң ә қ ғ қ ққ ғұ . - ғ қ:1) қ ә ә ө қ;2) қ ң ә , ғ қң ә қ;3) ғ қ қ қ;4) ө ө ү қ (ө) қ. қ, ә ә ө қ, ә , ң қ қ , ғ қ ә әң ғ ә , ң ү-ү ө қ .

 

. ұ ?

қ ұ ө құғ ұ ү ғ. main қ қ ққ , main қ қғ . қ, ұ ү: ққ ү (main ) ә қ ү (main ) қ ү.

қ ң ң ө, ө main ң . ү :

<ә_> < _ >(<> <1>, <> <2>, <> <N>);

3.қ ә , ө ң ә ң:

 

#include <stdio.h>

#include <math.h>

#include <conio.h>

main()

<

float x,y;

clrscr();

printf(қ ү ә ң;);

scanf (%f,&x);

if(x<1,66)

y=(pow(sinx(2*x),2)+5*x+x

else (x>+1.66)

y=(61sqrt(x)-17)/sqrt(4)+x*x+pow(cos(4*x),2);

printf(x=%fғ y=%10,6f\n, x,y);

getch()

>

 





:


: 2017-03-18; !; : 1394 |


:

:

: , .
==> ...

1464 - | 1439 -


© 2015-2024 lektsii.org - -

: 0.014 .