Files
elte-ik-pti-bsc-zarovizsga/Régebbi záróvizsga kidolgozások/2015 (Prahár László)/07.Programozás/img/5-ös_tanulók_száma.nsd
2022-01-07 19:57:57 +01:00

22 lines
1.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<root xmlns:nsd="https://structorizer.fisch.lu" version="3.30-06" 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="laszlo_prahar" created="2020-02-29" changedby="laszlo_prahar" changed="2020-02-29" origin="Structorizer 3.30-06" text="&#34;5-ös tanulók száma&#34;" comment="&#34;&#34;" color="ffffff" type="program" style="abbr">
<children>
<instruction text="&#34;Be: N, ÁT&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;B := 0&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<instruction text="&#34;I := 1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
<while text="&#34;I &#60;= N&#34;" comment="" color="ffffff" disabled="0">
<qWhile>
<alternative text="&#34;ÁT(I) &#62; 4.5&#34;" comment="&#34;&#34;" color="ffffff" disabled="0">
<qTrue>
<instruction text="&#34;DB := DB + 1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
</qTrue>
<qFalse>
<instruction text="&#34;SKIP&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
</qFalse>
</alternative>
<instruction text="&#34;I := I + 1&#34;" comment="" color="ffffff" rotated="0" disabled="0"></instruction>
</qWhile>
</while>
<instruction text="&#34;Ki: DB&#34;" comment="&#34;&#34;" color="ffffff" rotated="0" disabled="0"></instruction>
</children>
</root>