Предмет: Информатика, автор: ksenyiaprivat

срочно інформатика 7 клас!!!!!!! ¡! ​

Приложения:

manxk: яка це мова програмування?

Ответы

Автор ответа: MCFoger
0

Ответ:

Другий варіант

Объяснение:

Доброго вам дня!

Давайте розглянемо логіку схеми:

Ромб - це задана умова з розгалуженням.

так<-А<5->ні

Ось вам розгалуження...

Даний вираз можна перефразувати так:

Якщо(if) A<5, то виконується умова a=a+1, а якщо ні, то a=a-1

Тепер розглянемо варіанти відповідей(я розумію, що вам потрібна відповідь, але ви не зрозумієте тоді)

1. if a<5:

a=a+1

Цей варіант не підходить, бо немає виразу, коли а більше п'яти

2. if a<5:

a=a+1

else:

a=a-1

Цей варіант нам підходить, бо дві умови, але дві умови й в третьому, але в третьому йде перевірка: якщо а менше та дорівнює п'яти, а в блоці тільки а менше п'яти, отже другий варіант нам підходить

Похожие вопросы
Предмет: Английский язык, автор: kaliberda1
Помоги мне !!!!!!
Position of advverbs of frequency
Put the words in correct order.
1) always/at/bored/is/Your/parties/brother?
Your brother is always bored at parties.
2) often/at/Andrea/parties/photos/takes?
___________________________
3) films/like/My/romantic/always/grandparents?
________________________________
4) am/I/Mondays/on/tired/usually/very?
________________________________
5) about/aunt/Argentina/her/in/Elly/ofsten/speaks?
__________________________________
6) are/for/late/never/school/You?
_____________________________
7) dog/My/somentimes/TV/watches/on/football?
____________________________

Complete the questions with the correct verb.
(watch,play,do,have,talk,go,work)
1) (you) Do you work hard at school?
2) (your dad) _______ the washing-up after dinner?
3) (your mum) _______ breakfast in bed on Sundays?
4) (your friends) ______ computer games at school?
5) (your parents)______ dancing at the weekend?
6) (your dog)________ TV with you in the evening?
7) (you)_________ to your friends on the phone?

Then answer the questions using an adverb of frequency in each answer.
1) I usually work hard at school.
2) _______________
3) _______________
4) ________________
5) ______________
6) _____________
7)_______________

Write the opposistes. Use your Mini-dictionary.
1) bad _____? 5) outgoing _______?
2) lazy_____? 6) friendly ________?
3) quiet ______? 7) nervous ________?
4) sad ______? 8) honest ________?

Make adjectives from the nouns.
1) friend ______? 5) romance _______?
2) anger ______? 6) difficulty _______?
3) action ______? 7)help________?
4) noise _____? 8) practice ______?
Предмет: Русский язык, автор: naraseroj