.


:




:

































 

 

 

 


Pascal. WHALE.




.

:

( For)

( While Repeat)

WHILE

:

while <> do <>;

while, do ( [ ] );

< > ( b <= 5);

<> - Pascal, .

.

: , begin-end .

WHILE

( );

( ) , , do;

1 1, 2;

1, 2 , ( ) , .

27 Pascal. REPEATUNTIL. .

.

:

( For)

( While Repeat)

Repeat.. Until

:

Repeat < >; Until <>;

, repeat, until ( , );

< > ;

< > .

Repeat..Until

, REPEATUNTIL, ;

UNTIL ( );

( ) , , , ;

1, 2 , ( ) .

Pascal. FOR. .

.

:

( For)

( While Repeat)

FOR

:

for < >:=<_> to <_> do <>;

for, to, do (, , );

< > ; integer byte;

<_> - ;

<_> - ;

<> ;

< > .

FOR

<>, <_>: = <_>;

<_>: = <_>+ 1;

_>: = <_>;

Pascal. . - .

, (). .

Z

Var Z:array[1..6] of real;

Z ( Pascal)

ARRAY OF (, );

[1..6] -, ;

real , ;





:


: 2016-10-06; !; : 807 |


:

:

, - , ; , - .
==> ...

1468 - | 1475 -


© 2015-2024 lektsii.org - -

: 0.01 .