Upload files to "lv3"
This commit is contained in:
parent
103f980c1a
commit
0a94935153
4 changed files with 125 additions and 0 deletions
43
lv3/Lv2_3._pseudokod.fprg
Normal file
43
lv3/Lv2_3._pseudokod.fprg
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
<?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=""Upisi prvi broj: "" newline="True"/>
|
||||
<input variable="L1"/>
|
||||
<output expression=""Upisi drugi broj: "" newline="True"/>
|
||||
<input variable="L2"/>
|
||||
<output expression=""Upisi treci broj: "" newline="True"/>
|
||||
<input variable="L3"/>
|
||||
<output expression=""Upisi cetvrti broj: "" newline="True"/>
|
||||
<input variable="L4"/>
|
||||
<output expression=""Upisi peti broj: "" newline="True"/>
|
||||
<input variable="L5"/>
|
||||
<output expression=""Upisi sesti broj: "" newline="True"/>
|
||||
<input variable="L6"/>
|
||||
<output expression=""Upisi sedmi broj: "" 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue