From 45fd6810d6edac6539a5e74963245f20fbf8e2e0 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 27 Apr 2026 17:01:07 +0200 Subject: add if section for the planet --- Info/9/3/Planet/algorithmik/if/code1.tex | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Info/9/3/Planet/algorithmik/if/code1.tex (limited to 'Info/9/3/Planet/algorithmik/if/code1.tex') diff --git a/Info/9/3/Planet/algorithmik/if/code1.tex b/Info/9/3/Planet/algorithmik/if/code1.tex new file mode 100644 index 00000000..dd1a3c96 --- /dev/null +++ b/Info/9/3/Planet/algorithmik/if/code1.tex @@ -0,0 +1,18 @@ +\documentclass[border={8mm, 0mm, 2mm, 0mm}, varwidth]{standalone} +\usepackage{minted} +\begin{document} +\begin{minipage}{6cm} +\begin{minted}[ +linenos, +]{java} +if(gesteinVorhanden()) +{ + fahre(); +} +else +{ + setzeMarke(); +} +\end{minted} +\end{minipage} +\end{document} -- cgit v1.2.3