From d423613198945d1465e8e3c84860a2d695c4a936 Mon Sep 17 00:00:00 2001
From: danielvici123 <94993276+danielvici@users.noreply.github.com>
Date: Thu, 12 Dec 2024 11:49:29 +0100
Subject: [PATCH] aufgabe vom 24-12-11 und vom 24-12-12
---
progp/24-12-11 -- edicer 2/aufgabe.php | 13 +++++++
progp/24-12-12/matrix.php | 38 ++++++++++++++++++++
progp/24-12-12/staedte.php | 50 ++++++++++++++++++++++++++
3 files changed, 101 insertions(+)
create mode 100644 progp/24-12-11 -- edicer 2/aufgabe.php
create mode 100644 progp/24-12-12/matrix.php
create mode 100644 progp/24-12-12/staedte.php
diff --git a/progp/24-12-11 -- edicer 2/aufgabe.php b/progp/24-12-11 -- edicer 2/aufgabe.php
new file mode 100644
index 0000000..c4f86ba
--- /dev/null
+++ b/progp/24-12-11 -- edicer 2/aufgabe.php
@@ -0,0 +1,13 @@
+$value){
+ $tag = $tage[$key];
+ echo "
";
+ echo "Am $tag waren es $value Stunde(n) Sonnenschein
";
+ echo "Am Tag-Nr.: ". ($key+1). " gab es $value h Sonnenschein
";
+}
+
+?>
\ No newline at end of file
diff --git a/progp/24-12-12/matrix.php b/progp/24-12-12/matrix.php
new file mode 100644
index 0000000..125c1fd
--- /dev/null
+++ b/progp/24-12-12/matrix.php
@@ -0,0 +1,38 @@
+
+
";
+
+foreach ($matrix as $row) {
+ $output = "";
+ foreach ($row as $value) {
+ if ($value < 128) {
+ $output .= " ";
+ } else {
+ $output .= "X";
+ }
+ }
+ echo $output . "\n";
+}
+
+echo "";
+
+?>
+Das Ding ist ein Smile.
\ No newline at end of file diff --git a/progp/24-12-12/staedte.php b/progp/24-12-12/staedte.php new file mode 100644 index 0000000..4685580 --- /dev/null +++ b/progp/24-12-12/staedte.php @@ -0,0 +1,50 @@ + + + + + +| Stadt | +Land | +Einwohner in Mio | +
| $stadt | $land | $ew |