<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
    <attributes>
        <attribute name="name" value=""/>
        <attribute name="authors" value="kopecek"/>
        <attribute name="about" value=""/>
        <attribute name="saved" value="2020-03-26 11:28:05 dop."/>
        <attribute name="created" value="a29wZWNlaztVSzMzMC1QSzsyMDIwLTAyLTI1OzA5OjM1OjM5IGRvcC47Mjc0Ng=="/>
        <attribute name="edited" value="a29wZWNlaztVSzMzMC1QSzsyMDIwLTAyLTI2OzA0OjA4OjA2IG9kcC47MTE7Mjg5Mw=="/>
        <attribute name="edited" value="Zm94O0RFU0tUT1AtQTRBVE1MRjsyMDIwLTAzLTI2OzEwOjE5OjEyIGRvcC47Mjtrb3BlY2VrO1VLMzMwLVBLOzIwMjAtMDItMjU7MDk6MzU6MzkgZG9wLjtOZWp2ZXRzaVplMkNpc2VsRnVua2NlVmV0c2kuZnByZzs5MDQ0"/>
        <attribute name="edited" value="Zm94O0RFU0tUT1AtQTRBVE1MRjsyMDIwLTAzLTI2OzExOjI4OjA1IGRvcC47MTU7MzA1NA=="/>
    </attributes>
    <function name="Main" type="None" variable="">
        <parameters/>
        <body>
            <comment text="Deklarace: 'a' ... prvn&#237; zadan&#233; cel&#233; &#269;&#237;slo; 'b' ... druh&#233; zadan&#233; cel&#233; &#269;&#237;slo"/>
            <declare name="a, b" type="Integer" array="False" size=""/>
            <output expression="&quot;Zadejte a: &quot;" newline="False"/>
            <comment text="Na&#269;ten&#237; prvn&#237;ho cel&#233;ho &#269;&#237;sla"/>
            <input variable="a"/>
            <output expression="&quot;Zadejte b: &quot;" newline="False"/>
            <comment text="Na&#269;ten&#237; druh&#233;ho cel&#233;ho &#269;&#237;sla"/>
            <input variable="b"/>
            <comment text="V&#253;pis textu pro odd&#283;len&#237; porovn&#225;n&#237; v hlavn&#237;m programu"/>
            <output expression="&quot;Porovn&#225;n&#237; dvou &#269;&#237;sel v hlavn&#237;m programu:&quot;" newline="True"/>
            <comment text="Test, zda prvn&#237; &#269;&#237;slo je v&#283;t&#353;&#237; ne&#382; druh&#233;"/>
            <if expression="a &gt; b">
                <then>
                    <comment text="Prvn&#237; &#269;&#237;slo 'a' je v&#283;t&#353;&#237; ne&#382; druh&#233; &#269;&#237;slo 'b'"/>
                    <output expression="&quot;Nejv&#283;t&#353;&#237; je a = &quot; &amp; a" newline="True"/>
                </then>
                <else>
                    <comment text="Test, zda zadan&#225; &#269;&#237;sla jsou si rovny"/>
                    <if expression="a = b">
                        <then>
                            <comment text="Rovnost obou zadan&#253;ch &#269;&#237;sel"/>
                            <output expression="&quot;Nejv&#283;t&#353;&#237; je a = b = &quot; &amp; b" newline="True"/>
                        </then>
                        <else>
                            <comment text="Prvn&#237; zadan&#233; &#269;&#237;slo 'a' nen&#237; rovn&#233; druh&#233;mu &#269;&#237;slu 'b' (a z&#225;rove&#328; druh&#233; &#269;&#237;slo 'b' je v&#283;t&#353;&#237; ne&#382; prvn&#237; 'a') "/>
                            <output expression="&quot;Nejv&#283;t&#353;&#237; je b = &quot; &amp; b" newline="True"/>
                        </else>
                    </if>
                </else>
            </if>
            <comment text="V&#253;pis textu pro odd&#283;len&#237; porovn&#225;n&#237; proveden&#233;ho pomoc&#237; zavol&#225;n&#237; podprogramu"/>
            <output expression="&quot;Porovn&#225;n&#237; dvou &#269;&#237;sel pomoc&#237; podprogramu:&quot;" newline="True"/>
            <comment text="V&#253;ps&#225;n&#237; textu spolu s n&#225;vratem funkce (v&#253;sledek porovn&#225;n&#237;)"/>
            <output expression="&quot;Nejv&#283;t&#353;&#237; je &quot; &amp; VetsiRovno(a, b, &quot;a&quot;, &quot;b&quot;)" newline="False"/>
        </body>
    </function>
    <function name="VetsiRovno" type="String" variable="identifikatorHodnotaVetsiho">
        <parameters>
            <parameter name="x" type="Integer" array="False"/>
            <parameter name="y" type="Integer" array="False"/>
            <parameter name="identifikatorPrvniCislo" type="String" array="False"/>
            <parameter name="identifikatorDruheCislo" type="String" array="False"/>
        </parameters>
        <body>
            <comment text="Deklarace: 'identifikatorHodnotaVetsiho' ... lok&#225;ln&#237; prom&#283;nn&#225; slou&#382;&#237;c&#237; pro ulo&#382;en&#237; n&#225;zvu a v&#283;t&#353;&#237; hodnoty p&#345;edan&#233; z hlavn&#237;ho programu"/>
            <declare name="identifikatorHodnotaVetsiho" type="String" array="False" size=""/>
            <comment text="Test, zda prvn&#237; &#269;&#237;slo je v&#283;t&#353;&#237; ne&#382; druh&#233;"/>
            <if expression="x &gt; y">
                <then>
                    <comment text="Prvn&#237; &#269;&#237;slo je v&#283;t&#353;&#237; ne&#382; druh&#233; &#269;&#237;slo"/>
                    <assign variable="identifikatorHodnotaVetsiho" expression="identifikatorPrvniCislo &amp; &quot; = &quot; &amp; x"/>
                </then>
                <else>
                    <comment text="Test, zda zadan&#225; &#269;&#237;sla jsou si rovny"/>
                    <if expression="x = y">
                        <then>
                            <comment text="Rovnost obou zadan&#253;ch &#269;&#237;sel"/>
                            <assign variable="identifikatorHodnotaVetsiho" expression="identifikatorPrvniCislo &amp; &quot; = &quot; &amp; identifikatorDruheCislo &amp; &quot; = &quot; &amp; y"/>
                        </then>
                        <else>
                            <comment text="Prvn&#237; zadan&#233; &#269;&#237;slo nen&#237; rovn&#233; druh&#233;mu &#269;&#237;slu (a z&#225;rove&#328; druh&#233; &#269;&#237;slo je v&#283;t&#353;&#237; ne&#382; prvn&#237;) "/>
                            <assign variable="identifikatorHodnotaVetsiho" expression="identifikatorDruheCislo &amp; &quot; = &quot; &amp; y"/>
                        </else>
                    </if>
                </else>
            </if>
        </body>
    </function>
</flowgorithm>
