Лабораторные по PHP 41-60

Results:

Образует последовательность

Results:

Не образуют последовательность

Results:

Положительный массив
Array ( [0] => 5 [1] => 0 [2] => 2 [3] => 1 [4] => 10 [5] => 14 [6] => 0 [7] => 7 )
Отрицательный массив
Array ( [0] => -6 [1] => -8 [2] => -15 )

Results:

Array ( [0] => 4 [1] => 15 [2] => 2 [3] => 1 [4] => -4 [5] => 6 [6] => 0 [7] => -8 [8] => 9 [9] => 0 [10] => 7 [11] => 11 [12] => -12 [13] => -2 [14] => -2 [15] => -2 [16] => -2 [17] => -2 [18] => -2 [19] => -2 )

Results:

Array ( [0] => -4 [1] => -3 [2] => -2 [3] => -1 [4] => 2 [5] => -6 [6] => -7 [7] => 8 [8] => -9 [9] => 0 [10] => 22 )

Results:

Array ( [0] => 1.04 [1] => 2.08 [2] => 3.1 [3] => 4.14 [4] => 5.18 [5] => 6.22 [6] => 7.26 [7] => 8.3 [8] => 9.32 [9] => 10.36 )

Results:

Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 6 [6] => 7 [7] => 8 [8] => 9 [9] => 10 [10] => 11 [11] => 12 [12] => 13 [13] => 14 [14] => 15 )
b =3
c = 9
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 10 [4] => 11 [5] => 12 [6] => 13 [7] => 14 [8] => 15 )

Results:

Array ( [0] => 1 [1] => 2 [2] => 0 [3] => 4 [4] => 5 [5] => 0 [6] => 7 [7] => 8 [8] => 9 [9] => 0 [10] => 10 [11] => 11 [12] => 12 [13] => 0 [14] => 13 [15] => 14 [16] => 15 )
Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 [5] => 9 [6] => 7 [7] => 8 [8] => 9 [9] => 17 [10] => 10 [11] => 11 [12] => 12 [13] => 23 [14] => 13 [15] => 14 [16] => 15 )

Results:

Array ( [0] => 1 [1] => 2 [2] => 0 [3] => 15 [4] => 5 [5] => 0 [6] => 7 [7] => 8 [8] => 9 [9] => 0 [10] => 0 [11] => 11 [12] => 12 [13] => 13 )
Идут

Results:

Array ( [0] => 1 [1] => 2 [2] => 0 [3] => 3 [4] => 6 [5] => 7 [6] => 8 [7] => 0 [8] => 9 [9] => 10 [10] => 11 [11] => 0 [12] => 12 [13] => 13 [14] => 14 [15] => 15 )
Array ( [0] => 1 [1] => 2 [2] => 0 [3] => 3 [4] => 6 [5] => 7 [6] => 8 [7] => 0 [8] => 9 [9] => 10 [10] => 11 [11] => 0 [12] => 12 [13] => 13 [14] => 14 [15] => 15 [16] => 5 [17] => 8.57 )

Results:

What do you like
I like too

like
What do you like
I like too******
like************

Results:

What do you like
I like too
like
What do you like I like too like

Results:

Если бы Луна была планетой , гласных = 14
Он ждал её так долго , гласных = 7
Ничего интересного кроме очевидных вещей , гласных = 27

Results:

imperceptible
perceptible

Results:

unfortunately
2

Results:

1234567890 - Кол-во символов чётное
asdfghjkl - f
zxcrty468 - r

Results:

1 2 3 4 5 6 7 8 9
a s f d g h k
z c v r y 5 6

Results:

20.15/11/202401.15/11/20242002
asdf.15/11/2024gh.15/11/2024
zb.15/11/2024dt45.15/11/20247

Results:

Кол-во пробелов: 6
Кол-во пробелов: 5
Кол-во пробелов: 7

Results:

1?23?45678?9
1*23*45678*9
ghj?asd?s??
ghj*asd*s**
ghd??2374?5?hfk?s
ghd**2374*5*hfk*s




















Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *