You are on page 1of 3

<?xml version="1.0"?

>

<flowgorithm fileversion="2.11">

<attributes>

<attribute name="name" value=""/>

<attribute name="authors" value="entercomp"/>

<attribute name="about" value=""/>

<attribute name="saved" value="2022-03-21 05.03.23 PM"/>

<attribute name="created"
value="ZW50ZXJjb21wO0RFU0tUT1AtNjM2TkRDQTsyMDIyLTAzLTIxOzA0LjA3LjA0IFBNOzMyNDA="/>

<attribute name="edited"
value="ZW50ZXJjb21wO0RFU0tUT1AtNjM2TkRDQTsyMDIyLTAzLTIxOzA1LjAzLjIzIFBNOzE7MzM0Ng=
="/>

</attributes>

<function name="Main" type="None" variable="">

<parameters/>

<body>

<declare name="A" type="Real" array="False" size=""/>

<declare name="B" type="Real" array="False" size=""/>

<declare name="KOMISI" type="Integer" array="False" size=""/>

<declare name="totalsetoran" type="Integer" array="False" size=""/>

<output expression="&quot; JUMLAH SETORAN ANDA DITEMPAT A &quot;" newline="True"/>

<input variable="A"/>

<if expression="A &lt; 10000000">

<then>

<output expression="&quot; Tidak Ada Komisi &quot;" newline="True"/>

</then>

<else/>

</if>

<output expression="&quot; JUMLAH SETORAN DITEMPAT B &quot;" newline="True"/>

<input variable="B"/>

<if expression="B &lt; 13000000">

<then>
<assign variable="KOMISI" expression="B * 0.055"/>

<output expression="&quot; ANDA MENDAPAT KOMISI SEBESAR = &quot;&amp;KOMISI"


newline="True"/>

</then>

<else>

<if expression="B &lt; 7000000">

<then>

<assign variable="KOMISI" expression="B * 0.055"/>

<output expression="&quot; ANDA MENDAPAT KOMISI SEBESAR =


&quot;&amp;KOMISI" newline="True"/>

</then>

<else/>

</if>

</else>

</if>

<output expression="&quot; MASUKKAN JUMLAH TOTAL SETORAN ANDA &quot;"


newline="True"/>

<input variable="A"/>

<if expression="A &gt; 14000000">

<then>

<assign variable="totalsetoran" expression="A * 0.0075"/>

<output expression="&quot; ANDA MENDAPAT KOMISI SEBESAR


&quot;&amp;totalsetoran" newline="True"/>

<input variable="B"/>

<if expression="B &gt; 13000000">

<then>

<assign variable="totalsetoran" expression="B * 0.0075"/>

<output expression="&quot; ANDA MENDAPAT KOMISI SEBESAR


&quot;&amp;totalsetoran" newline="True"/>

</then>

<else/>

</if>

</then>
<else/>

</if>

</body>

</function>

</flowgorithm>

You might also like