Лабораторные по PHP 21-40
Results:
X = 14
Y = 26
Функция Z = 0.0027472527472527
Y = 26
Функция Z = 0.0027472527472527
Results:
A = 24.12
B = 0.1458
C = -58.478
Неравенство A < B - не выполняется
Выполняется неравенство B > C = 1
B = 0.1458
C = -58.478
Неравенство A < B - не выполняется
Выполняется неравенство B > C = 1
Results:
X = 348.2
Y = 28.45
Z = 99.530347130913
Y = 28.45
Z = 99.530347130913
Results:
Первый прямоугольник: 1000
Второй прямоугольник: 500
Не сможет поместиться
Второй прямоугольник: 500
Не сможет поместиться
Results:
Ваше число: 8
0.0099009900990099
0.0099009900990099
Results:
Ваше число: 240
3317760000
3317760000
Results:
Ваше число: 2.5
5.5499667346643
5.5499667346643
Results:
Ваше число: 8.4
Ваше число: 10
Оба числа больше 0
Ваше число: 10
Оба числа больше 0
Results:
Ваш год: 2015
Год не високосный
Год не високосный
Results:
Array
(
[0] => 2
[1] => 1
[2] => 4
[3] => 3
[4] => 6
[5] => 5
[6] => 8
[7] => 7
[8] => 10
[9] => 9
[10] => 12
[11] => 11
[12] => 13
[13] => 14
[14] => 15
)
Results:
Array
(
[0] => 15
[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
)
Results:
Array
(
[0] => 8
[1] => 9
[2] => 10
[3] => 11
[4] => 12
[5] => 13
[6] => 14
[7] => 15
[8] => 1
[9] => 2
[10] => 3
[11] => 4
[12] => 5
[13] => 6
[14] => 7
)
Results:
Array
(
[0] => 1
[1] => 2
[2] => 7
[3] => 8
[4] => 9
[5] => 6
[6] => 3
[7] => 4
[8] => 5
[9] => 6
[10] => 10
[11] => 11
[12] => 12
[13] => 13
[14] => 14
[15] => 15
)
Results:
Array
(
[0] => 1
[1] => 2
[2] => 3
[3] => 4
[4] => 5
[5] => 4
[6] => 5
[7] => 6
[8] => 7
[9] => 8
[10] => 9
[11] => 10
[12] => 11
[13] => 6
[14] => 7
[15] => 8
[16] => 9
[17] => 10
[18] => 11
[19] => 12
[20] => 13
[21] => 14
[22] => 15
)
Results:
Array
(
[0] => 78
[1] => 8
)
Results:
Array
(
[0] => 1
[1] => 20
[2] => 33
[3] => -8
[4] => 9
[5] => 10
[6] => 11
[7] => 12
[8] => -13
[9] => -14
[10] => 15
)
Results:
Array
(
[0] => 1
[1] => 2
[2] => 4
[3] => 6
[4] => 7
[5] => -8
[6] => 9
)
Results:
Array
(
[0] => 0
[1] => 1
[2] => 2
[3] => -5
[4] => 25
[5] => 4
[6] => -2
[7] => 4
[8] => 6
[9] => 7
[10] => 8
[11] => 9
[12] => 10
[13] => 11
[14] => -12
[15] => 144
[16] => 13
[17] => -14
[18] => 196
[19] => 15
)