<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
    <attributes>
        <attribute name="name" value=""/>
        <attribute name="authors" value="Vasek"/>
        <attribute name="about" value=""/>
        <attribute name="saved" value="2020-09-21 10:03:50 dop."/>
        <attribute name="created" value="VmFzZWs7VktPVExBTk5COzIwMjAtMDktMjE7MDk6NDU6MjggZG9wLjsyNjkz"/>
        <attribute name="edited" value="VmFzZWs7VktPVExBTk5COzIwMjAtMDktMjE7MTA6MDM6NTAgZG9wLjs0OzI3ODU="/>
    </attributes>
    <function name="Main" type="None" variable="">
        <parameters/>
        <body>
            <declare name="A" type="Integer" array="False" size=""/>
            <input variable="A"/>
            <output expression="detekceCisla(A)" newline="True"/>
        </body>
    </function>
    <function name="detekceCisla" type="String" variable="odpoved">
        <parameters>
            <parameter name="A" type="Integer" array="False"/>
        </parameters>
        <body>
            <declare name="odpoved" type="String" array="False" size=""/>
            <if expression="A&gt;=0">
                <then>
                    <if expression="A&gt;0">
                        <then>
                            <assign variable="odpoved" expression="&quot;Zadal jste kladne cislo!&quot;"/>
                        </then>
                        <else>
                            <assign variable="odpoved" expression="&quot;Zadal jste nulu.&quot;"/>
                        </else>
                    </if>
                </then>
                <else>
                    <assign variable="odpoved" expression="&quot;Zadal jse zaporne cislo.&quot;"/>
                </else>
            </if>
        </body>
    </function>
</flowgorithm>
