Voll Upload SGD Fachinformatiker PHP
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
$geradeZahlen = [];
|
||||
|
||||
$element = 0;
|
||||
|
||||
for ($i = 1; $i <=100; $i++) {
|
||||
if ($i % 2 == 0) {
|
||||
$geradeZahlen[$element] = $i;
|
||||
|
||||
$element++;
|
||||
}
|
||||
}
|
||||
|
||||
var_dump($geradeZahlen);
|
||||
?>
|
||||
Reference in New Issue
Block a user