8
. .
2. . .., .. .
3. . .
. .
.
1) Pascal
6. .
- :
6.1. , . : . . . . Predusl1.pas.
6.2. , mod. Predusl2.pas. : 15, 4. 123 45.
6.3. : - . : . Predusl3.pas. :
n | ||
S |
6.4. , 10 . 7% . 7 ? Predusl4.pas. : 15 .
6.5. , 0 90 5. Predusl5.pas.
6.6. :
Predusl6.pas. n=5,8,10.
7. .
7.1. .
7.2. - 6.1-6.6 .
.
8.1. ?
8.2. ?
8.3. ?
.
, . , , . . : , . ,, .
while ()
while :
|
|
while do
, do . , begin end ( ).
, , , .
, :
while 2>1 do
write(1);
, Ctrl-F2 Stop.
do Pascal ABC .
:
1. . , .
2. .
3. while , , , .
: