Автор - megaavacado

Выполните пожалуйста задания. Даю 55 баллов. Фото прикреплены.

Ответ

Автор - gfhjkmgfhjkm20

Ответ:

1.

uses Robot;

begin

Task('if2');


paint;


right;

if wallfromright then

begin

paint;

left;

end

else left;


left;

if wallfromleft then

begin

paint;

right;

end

else right;


down;

if wallfromdown then

begin

paint;

up;

end

else up;


up;

if wallfromup then

begin

paint;

down;

end

else down;


end.

2.

uses Robot;

begin

Task('if3');


if wallfromdown and wallfromleft then

begin

up;

right;

paint;

end


else if wallfromleft and wallfromup then

begin

down;

right;

paint;

end


else if wallfromdown and wallfromright then

begin

up;

left;

paint;

end


else if wallfromright and wallfromup then

begin

down;

left;

paint;

end;

end.

3.

uses Robot;

begin

Task('if4');


if wallfromright then

begin

left;

paint;

end


else if wallfromleft then

begin

right;

paint;

end


else if wallfromup then

begin

down;

paint;

end


else if wallfromdown then

begin

up;

paint;

end

end.

Ответы и объяснения

Сервис носит ознакомительный характер, вся информация, а в частности вопросы и ответы, которые задают и отвечают пользователи.
© 2025 Все права защищены Политика конфиденциальности Контакты
search points attachment profile arrow left arrow right star heart verified symbols equation arrow-down question mark check menu accountancyadministrationagriculturalalgebraallarabicartart_musicbelarusbelarus_altbiologybusinesscatalachemistrychineseeconomicsegzamenglishentrepreneurshipenvironmentethicseuskarafirst_aidfrenchgalegogeographygeologygeometrygermangrammarhealthhistoryindia_langindonesian_langinformaticsitalianjapanesekazachkazach_altkoreanlanguagelatinlawlife_scienceliteraturelogicmathematicsmusicnigerian_langother_languagesotherspedagogicsphilosophyphysical_educationphysicspoliticspsychologyreligionrpa_langrussianrussian_altsciencesecurityskillssocial_sciencesociologyspanishstatisticstechnologytourismtrafficukrainianukrainian_altukrainian_literaturewos_civilisation accountancyadministrationagriculturalalgebraall_1arabicartart_music_2belarusbelarus_altbiologybusiness_2catalachemistry_1chineseeconomicsexam_3englishentrepreneurshipenvironment_2ethicseuskarasecurity_1frenchgalegogeography_4geology_4geometrygermangrammarhealthhistoryindia-langindonesian-langinformaticsitalianjapanesekazachAsset 230koreanlanguagelatinlawlife-scienceliteraturelogic_2mathematicsmusicnigerian-langotherlanguagesother_1pedagogicsphilosophyphysical_educationphysicspoliticspsychologyreligion_1rpa-langrussianrussian_altsciencesecurity_3_mskills_1allsocial_science_5_msociologyspanishstatisticstechnologytourismtrafficukrainianukrainian_altukrainian_literaturewos_civilisation