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

На числовой оси выбираются случайные числа пока не выбрали 0. Сколько четных чисел выбрали. Составить блок-схему алгоритм

Ответы

Автор ответа: Аноним
0
Блок-схема во вложении. Функция Random возвращает случайное число на [0,1]
Приложения:
Похожие вопросы
Предмет: Русский язык, автор: Аноним
Предмет: Английский язык, автор: ZlatKo08
1) Complete the text with Present Simple of the verbs in brackets.

A typical day in Lisa's life
Her mother always 1)___________ (wake) her up at seven o'clock. She 2)_________ (get) up and 3)___________ (go) to the bathroom. There she 4)______________ (wash) and 5)___________(brush) her teeth. Then she 6)_____________ (walk) downstairs and 7)___________ (have) breakfast. Then she 8)______________ (say) goodbye to her parents and 9)__________ (leave) the house. She usually 10)_________ (catch) the bus to school where she 11)_____________ (meet) some friends. After school she 12)____________ (do) her homework and 13)____________ (study) for a test. Then she 14)___________ (chat) with her friends,15) ___________(read) a book or 16)_____________ (watch) one of her favourite sitcoms.

2) Fill in the gaps with the correct form of the verbs in brackets.

1. My uncle_______________a new laptop every year. (buy)
2. Claire and Zoe__________ a cake for my birthday every year. (bake)
3. My sister________ hard and that's why she never_______ (try / fail)
4. Ashley and her friends ______ in the park every weekend. (play)
5. Our dog_________ our neighbour's cat in the garden. (chase)

3) Write down the negations (отрицания) of the verbs in the positive sentences.

1. He works from Monday to Friday. He at weekends.
2. My friends and I play baseball. We basketball and football.
3. Sandra and Mary live in Chicago. Dorothy there.
4. My mother likes reading books and magazines. My brothers reading.
5. My neighbours take their holidays in July. They them in August.


4) Form questions in the present simple with the words given.

1. What / you / have / for breakfast - ?
2. When / he / come / on Fridays - ?
3. How often / she / go out / with her friends - ?
4. Your brother / live / in England - ?
5. The kids / like / their new English teacher ?


5) Put the words into the correct order. Write down the sentences.

1. visit / they / sometimes / on Sunday / their aunt - .
2. you / to the mall / go / often / do/ with your friends - ?
3. a tennis match / hardly ever / watches / he - .
usually / have / we / dinner / before seven / don't - .
4. read / does/ the paper / always / she / in the morning - ?