<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
    <attributes>
        <attribute name="name" value=""/>
        <attribute name="authors" value="burrin"/>
        <attribute name="about" value=""/>
        <attribute name="saved" value="2020-10-25 02:55:54 PM"/>
        <attribute name="created" value="YnVycmluO0RFU0tUT1AtNzQ5RDJJRjsyMDIwLTEwLTI1OzEwOjMzOjA1IEFNOzI5MTk="/>
        <attribute name="edited" value="YnVycmluO0RFU0tUT1AtNzQ5RDJJRjsyMDIwLTEwLTI1OzAyOjU1OjU0IFBNOzM7MzA1Mw=="/>
    </attributes>
    <function name="Main" type="None" variable="">
        <parameters/>
        <body>
            <declare name="num" type="Integer" array="False" size=""/>
            <declare name="count" type="Integer" array="False" size=""/>
            <assign variable="num" expression="random(100)"/>
            <output expression="num &amp;&quot;&gt;&gt;&quot;" newline="True"/>
            <assign variable="count" expression="1"/>
            <while expression="num !=1">
                <assign variable="count" expression="count +1"/>
                <if expression="num mod 2 = 0">
                    <then>
                        <assign variable="num" expression="num /2"/>
                    </then>
                    <else>
                        <assign variable="num" expression="(num * 3) +1"/>
                    </else>
                </if>
                <output expression="num &amp; &quot; &gt;&gt; &quot;" newline="True"/>
            </while>
            <output expression="&quot;STEPS = &quot; &amp;count" newline="True"/>
        </body>
    </function>
</flowgorithm>
