From 945168bf6461a99164e4232bce8cbd5f5cc8a575 Mon Sep 17 00:00:00 2001 From: danielvici123 <94993276+danielvici@users.noreply.github.com> Date: Thu, 17 Oct 2024 10:59:54 +0200 Subject: [PATCH] =?UTF-8?q?-=20info.md=20hinugef=C3=BCgt=20in=20/css=20-?= =?UTF-8?q?=20aufgabe=20vom=2024-10-17?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- progp/24-10-17/switch-case.php | 32 ++++++++++++ progp/24-10-17/zeugnisnote.html | 26 ++++++++++ progp/24-10-17/zeugnisnote.php | 88 +++++++++++++++++++++++++++++++++ progp/css/info.md | 1 + progp/css/schwarz-weiß.css | 3 ++ 5 files changed, 150 insertions(+) create mode 100644 progp/24-10-17/switch-case.php create mode 100644 progp/24-10-17/zeugnisnote.html create mode 100644 progp/24-10-17/zeugnisnote.php create mode 100644 progp/css/info.md create mode 100644 progp/css/schwarz-weiß.css diff --git a/progp/24-10-17/switch-case.php b/progp/24-10-17/switch-case.php new file mode 100644 index 0000000..0454e83 --- /dev/null +++ b/progp/24-10-17/switch-case.php @@ -0,0 +1,32 @@ + + + + + + Document + + + "; + } + else if ($b == 1){ + echo "Variable b hat den Wert 1.
"; + } else if ($b == 2){ + echo "Variable b hat den Wert 2.
"; + } + $i = 1; + switch ($i) { + case 2: + case 4: + case 6: + echo "Variable b hat den Wert 2.
"; + break; + default: + echo "Variable b hat einen unbekannten Wert.
"; + } + ?> + + \ No newline at end of file diff --git a/progp/24-10-17/zeugnisnote.html b/progp/24-10-17/zeugnisnote.html new file mode 100644 index 0000000..1f90cb1 --- /dev/null +++ b/progp/24-10-17/zeugnisnote.html @@ -0,0 +1,26 @@ + + + + + + Zeugnisnoten + + + +
+

Zeugnisnoten

+
+ +
+ + +
+ + +
+ + +
+
+ + \ No newline at end of file diff --git a/progp/24-10-17/zeugnisnote.php b/progp/24-10-17/zeugnisnote.php new file mode 100644 index 0000000..f37fc52 --- /dev/null +++ b/progp/24-10-17/zeugnisnote.php @@ -0,0 +1,88 @@ + + + + + + Zeugnisnoten + + + +
+

Ausgabe:

+ "; + echo "Die Leistung in Deutsch ist ". $deutsch_msg . ".
"; + echo "Die Leistung in Mathe ist ". $mathe_msg . ".

"; + echo "Der Durchschnitt der Noten beträgt: ". $durchschnitt. ".
"; + ?> +
+ + \ No newline at end of file diff --git a/progp/css/info.md b/progp/css/info.md new file mode 100644 index 0000000..2b1a65e --- /dev/null +++ b/progp/css/info.md @@ -0,0 +1 @@ +## Das Blaue Theme sieht schlecht aus \ No newline at end of file diff --git a/progp/css/schwarz-weiß.css b/progp/css/schwarz-weiß.css new file mode 100644 index 0000000..fd78a92 --- /dev/null +++ b/progp/css/schwarz-weiß.css @@ -0,0 +1,3 @@ +.main { + border: 2px solid black; +} \ No newline at end of file