1.There _ARE two cups of tea on the table.
2.There __IS___ some milk in the cup.
3.There __IS___ an orange in the salad.
4.There _ARE six balls in the box.
5.There __IS___ some cheese on the plate.
6.There ___IS___ a blue chair at the door.
7.There _ARE five chicks and a hen on the farm.
8.There __IS___ a table and nine desks in the classroom.
9.There __IS___ a big window to the left of the door.
10.There _ARE three rooms in our country house.
11.___ARE__ there three cups on the coffee-table?
12. ___IS_ there a carpet on the floor?
13. There ___ARE__ no cats in the sitting room.
14. There__IS___ a cat on the table.
15. There__ARE___ 3 dogs in the box
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#include <stdio.h>
#include <stdlib.h> // предоставляет rand() и srand()
#include <time.h> // предоставляет time()
// число строк в массиве:
#define M 5
// длина каждой строки:
#define N 7
int main ()
{
srand(time(NULL)); // новая точка отсчета рнд
int B[M][N]; // массив
int cnt; // число отрицательных
int i, j;
// заполняем массив случайными:
for (i=0; i<M; i++)
for (j=0; j<N; j++)
B[i][j] = rand() %21 - 10;
// считаем отрицательные:
for (i=0; i<N; i++)
{
cnt = 0; // перед каждым новым столбцом сбрасываем счетчик отрицательных
for (j=0; j<M; j++)
if (B[i][j] < 0) cnt++;
printf("column #%i, count is: %d\n", i, cnt);
}
return 0; // конец программы