<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:nsd="http://structorizer.fisch.lu/" version="3.26-05" preRepeat="while" postFor="to" preReturn="return" postForIn="in" preWhile="while " output="OUTPUT" input="INPUT" preAlt="if" preFor="for" preExit="exit" preLeave="leave" ignoreCase="true" preForIn="foreach" stepFor="by" author="838235" created="2017-10-23" changedby="838235" changed="2017-10-26" text="&#34;Log in&#34;" comment="" color="ffffff" type="program" style="nice">
	<children>
		<instruction text="&#34;MAX_NUM_ATTEMPT = 3&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
		<repeat text="&#34;while (loggedIn == false)&#34;" comment="" color="ffffff" disabled="0">
			<qRepeat>
				<instruction text="&#34;&#34;&#34;Karte einführen&#34;&#34;&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
				<instruction text="&#34;cntAttempt = 1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
				<while text="&#34;while (cntAttempt &#60;= MAX_NUM_ATTEMPT)&#34;" comment="" color="ffffff" disabled="0">
					<qWhile>
						<instruction text="&#34;Eingabe: pin&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
						<alternative text="&#34;if(pin == &#34;&#34;1234&#34;&#34;)&#34;" comment="" color="ffffff" disabled="0">
							<qTrue>
								<instruction text="&#34;loggedIn = true&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
								<jump text="&#34;break&#34;" comment="" color="ffffff" disabled="0"></jump>
							</qTrue>
							<qFalse>
								<instruction text="&#34;&#34;&#34;PIN falsch!&#34;&#34;&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
								<alternative text="&#34;if(cntAttempt == MAX_NUM_ATTEMPT)&#34;" comment="" color="ffffff" disabled="0">
									<qTrue>
										<instruction text="&#34;&#34;&#34;Karte wird eingezogen&#34;&#34;&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
									</qTrue>
									<qFalse color="ffffff">
									</qFalse>
								</alternative>
							</qFalse>
						</alternative>
						<instruction text="&#34;cntAttempt++&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
					</qWhile>
				</while>
			</qRepeat>
		</repeat>
		<instruction text="&#34;&#34;&#34;eingeloggt&#34;&#34;&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
	</children>
</root>