lv/lv3/Lv2_3._pseudokod.fprg
2025-10-10 14:13:09 +02:00

43 lines
2.4 KiB
XML

<?xml version="1.0"?>
<flowgorithm fileversion="4.2">
<attributes>
<attribute name="name" value="Lv2_2._pseudokod"/>
<attribute name="authors" value="student"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2025-10-10 12:02:11 PM"/>
<attribute name="created" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMTozNzo1MSBBTTszMTE2"/>
<attribute name="edited" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMjowMjoxMSBQTTsxOzMyMjg="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="L1" type="Real" array="False" size=""/>
<declare name="L2" type="Real" array="False" size=""/>
<declare name="L3" type="Real" array="False" size=""/>
<declare name="L4" type="Real" array="False" size=""/>
<declare name="L5" type="Real" array="False" size=""/>
<declare name="L6" type="Real" array="False" size=""/>
<declare name="L7" type="Real" array="False" size=""/>
<declare name="sum" type="Real" array="False" size=""/>
<declare name="sum2" type="Real" array="False" size=""/>
<output expression="&quot;Upisi prvi broj: &quot;" newline="True"/>
<input variable="L1"/>
<output expression="&quot;Upisi drugi broj: &quot;" newline="True"/>
<input variable="L2"/>
<output expression="&quot;Upisi treci broj: &quot;" newline="True"/>
<input variable="L3"/>
<output expression="&quot;Upisi cetvrti broj: &quot;" newline="True"/>
<input variable="L4"/>
<output expression="&quot;Upisi peti broj: &quot;" newline="True"/>
<input variable="L5"/>
<output expression="&quot;Upisi sesti broj: &quot;" newline="True"/>
<input variable="L6"/>
<output expression="&quot;Upisi sedmi broj: &quot;" newline="True"/>
<input variable="L7"/>
<assign variable="sum" expression="(L1%10)*100000+(L2%10)*10000+(L3%10)*1000+(L4%10)*100+(L5%10)*10+L6%10"/>
<output expression="sum%101" newline="True"/>
<assign variable="sum2" expression="(L1%10)+(L2%10)+(L3%10)+(L4%10)+(L5%10)+(L6%10)"/>
<output expression="sum2" newline="True"/>
</body>
</function>
</flowgorithm>