.


:




:

































 

 

 

 


ң -




қ (ә) ә

ғ

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

 

ө қ ә қ. ұ ң ө . ң қ ғ қғ қ. :

  • ә ң ң ө ә ә;
  • ;
  • Ұң ұғ .

ө қ ң ө ә ғ ү ә ғ қ ғ қ.

ә ң ң ө ә ә

ә ң ң ө ә ә қ ү ң ң ә қғ ә қ (1.1-):

1.1-
i x  
    x=n (n=5)
    x=n-1 (1=i-1)
    x=n-2 (2=i-1)
    x=n-3 (3=i-1)
    x=n-4 (4=i-1)
ә x=n-(i-1)

әң қ қ ү:

: : :
for i=1 to n x=n-i+1 next for i:=1 to n dox:=n-i+1; for(i=1;i<=n;i++)x=n-i+1;

"" : қ өң ( ңғ ә ң ғ қ қ ө) қ .

: әң ә ңғ ң, ә ңғң ғ ә ... ө ң .

ұ ң n/2 қ ә (ө ә қ ң ).

ғ :

var a:string; k,n,i: integer;begin writeln ('sozdi endir:'); readln (a); k:=0; n:=length(a); for i:=1 to (n div 2) do if copy(a,i,1) <> copy(a,n-i+1,1) then k:=1; if k=0 then writeln ('palindrom') else writeln ('palindrom emes');end.

:

: QAZAQ
ә: palindrom

ұғ

Ұң ң ұғ ү (1.1-):

1.1.


өң :

: : :
sqr((x1-x2)^2+(y1-y2)^2) sqrt(sqr(x1-x2)+sqr(y1-y2)) sqrt(pow(x1-x2,2)+pow(y1-y2,2))

 

: өң қ үұ (1.2-).


1.2.

: Үұ ү ң қғң ұқ қ .

ғ :

var x1,y1,2,y2,3,3: integer; a,b,c: real;begin readln (x1, y1); readln (x2, y2); readln (x3, y3); a:=sqrt(sqr(x1-x2)+sqr(y1-y2)); b:=sqrt(sqr(x2-x3)+sqr(y2-y3)); c:=sqrt(sqr(x1-x3)+sqr(y1-y3)); writeln (a+b+c);end.

:

ә
1-: 4 11 3 7 4 3 11.8  
2-: 7 10 6 7 6 2 9.5

ң -

ң - қ қ ө :

: : :
1. x \ y = x / y2. x mod y =0 x mod y = 0 x%y==0

: қ N ң ө .

: ө ң ғ n mod i=0 қ (өң қғ 0- ң ). n ң ү ө ұ.

ғ :

var n,i: integer;begin writeln ('sandi endir:'); readln (n); writeln ('bolgishter:'); {=ө ғ========}for i:=1 to n do if n mod i=0 then write (i,' ');end.

:

:  
ә: 1 2 4 8 16

 





:


: 2017-04-04; !; : 460 |


:

:

.
==> ...

1468 - | 1455 -


© 2015-2024 lektsii.org - -

: 0.009 .