.

Циклические алгоритмы

Язык: русский
Формат: реферат
Тип документа: Word Doc
0 405
Скачать документ

Oeeeee/aneea aeai?eoiu

Aeai?eoiu niaea?aeauea eiiaiaeu iiaoi?aiey, iacuaatho oeeeee/aneeie.
Eiiaiaeu iiaoi?aiey ninoaaeytho oeeee. Oeeee – yoi oaeay oi?ia
i?aaiecaoeee aeaenoaee, i?e eioi?ie iaeia iineaaeiaaoaeueiinoue
aeaenoaee iiaoi?yaony ianeieueei ?ac( eee ia ?aco), aei oao ii? , iiea
auiieiythony iaeioi?ua oneiaey.

Nouanoaotho o?e aeaea oeeeeia. Yoi: oeeee “Aei”, oeeee “Iiea”, oeeee “
Aeey…”. Iie ana ninoiyo ec ianeieueeeo yoaiia. Yoi :

Iiaeaioiaea oeeeea, a eioi?oth aoiaeyo ia/aeueiua i?enaiaiey;

Oaei oeeeea – eiiaiaeu iiaoi?aiey oeeeea;

Oneiaea – iaycaoaeueiay /anoue oeeeeia “Aei” e “Iiea”.

?anniio?ei oeeee “Aei”. Oeeee “Aei” yoi oaeie oeeee, aaea oaei oeeeea
auiieiyaony ia?aae oneiaeai. Aai eo/oa eniieueciaaoue a oie oeeeee/aneie
no?oeoo?a, aaea ca?aiaa ecaanoii /enei iiaoi?aiee aeiea oneiaey.

Yoi i?inoaeoay aeie-noaia oeeeea “Aei”.

(

i?enaiaiea

(

(

(

oaei oeeeea

(

oneiaea

(

I?eaaaeo i?ia?aiiu ia ycuea Aaenee :

10 A=0

20 A=A+1

30 IF NOT A=10 THEN GOTO 20

40 PRINT A

50 END 10 A=0

20 A=A+0.01

30 IF INT(A)=0 THEN GOTO 20

40 PRINT A

50 END

Yoio oeeee auiieiyaony ia iaiaa iaeiiai ?aca.

Aeie-noaiu ia yoe i?ia?aiiu :

1)

ia/

A:=0

A:=A+1

— A=10

+

auaiae A

eii

2)

ia/

A:=0

A:=A+0.01

+

INT(A)=0

auaiae A

eii

Oaia?ue ?anniio?ei oeeee “Iiea”

Oeeee “Iiea” yoi oaeie oeeee, aaea oaei oeeeea auiieiyaony, iiea
auiieiythony iaeioi?ua oneiaey . Aai eo/oa eniieueciaaoue oai, aaea
n?aco iaecaanoiu ia/aeueiua cia/aiey oeeeea.

Aai i?inoaeoay aeie-noaia auaeyaeeo oae :

(

(

(

i?enaiaiea

(

(

oneiaea

(

oaei oeeeea

Yoio oeeee iiaeao ia auiieieony .

I?eaaaeo i?ia?aiiu aeey ycuea Aaenee :

1)

10 INPUT A

20 IF A=>50 THEN GOTO 50

30 A=A+1

40 GOTO 20

50 PRINT A

60 END 2)

10 INPUT A

20 IF A50

A:=A+1

auaiae A

eii

ia/

aaiae A

— A

Нашли опечатку? Выделите и нажмите CTRL+Enter

Похожие документы
Обсуждение

Оставить комментарий

avatar
  Подписаться  
Уведомление о
Заказать реферат!
UkrReferat.com. Всі права захищені. 2000-2020