<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:nsd="https://structorizer.fisch.lu" version="3.30-11" preRepeat="until " postFor="to" preReturn="return" postForIn="in" preWhile="while " output="OUTPUT" input="INPUT" preFor="for" preExit="exit" preLeave="leave" ignoreCase="true" preThrow="throw" preForIn="foreach" stepFor="by" author="Tenshi.Hara" created="2020-12-07" changedby="Tenshi.Hara" changed="2020-12-07" origin="Structorizer 3.30-11" text="&#34;ggT_k(zahl1, zahl2)&#34;" comment="&#34;in:  int, int&#34;,&#34;out: int&#34;" color="ffffff" type="sub" style="nice">
	<children>
		<instruction text="&#34;rest := 1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
		<instruction text="&#34;out:&#34;,&#34;„Zahl1: “ + zahl1 + „, Zahl2: “ + zahl2&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
		<alternative text="&#34;(zahl1 == 0) || (zahl2 == 0)&#34;" comment="&#34;&#34;" color="ffffff" disabled="0">
			<qTrue>
				<instruction text="&#34;return (zahl1 + zahl2)&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
			</qTrue>
			<qFalse color="ffffff">
			</qFalse>
		</alternative>
		<alternative text="&#34;(zahl1 != zahl2)&#34;" comment="" color="ffffff" disabled="0">
			<qTrue>
				<repeat text="&#34;until (zahl1 == zahl2)&#34;" comment="" color="ffffff" disabled="0">
					<qRepeat>
						<alternative text="&#34;(zahl1 &#62; zahl2)&#34;" comment="" color="ffffff" disabled="0">
							<qTrue>
								<instruction text="&#34;rest := zahl1 - zahl2&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
								<instruction text="&#34;zahl1 := zahl2&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
							</qTrue>
							<qFalse>
								<instruction text="&#34;rest := zahl2 - zahl1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
							</qFalse>
						</alternative>
						<instruction text="&#34;zahl2 := rest&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
					</qRepeat>
				</repeat>
				<instruction text="&#34;out:&#34;,&#34;„Zahl1: “ + zahl1 + „, Zahl2: “ + zahl2&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
			</qTrue>
			<qFalse>
				<instruction text="&#34;rest := zahl1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
			</qFalse>
		</alternative>
		<jump text="&#34;return rest&#34;" comment="" color="ffffff" disabled="0"></jump>
	</children>
</root>