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

29 lines
1.5 KiB
XML

<?xml version="1.0"?>
<flowgorithm fileversion="4.2">
<attributes>
<attribute name="name" value="lv_2_2._pseudokod"/>
<attribute name="authors" value="student"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2025-10-10 11:37:24 AM"/>
<attribute name="created" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMTozMDoyNSBBTTszMTEw"/>
<attribute name="edited" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMTozNzoyNCBBTTsxOzMyMjQ="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="s" type="Real" array="False" size=""/>
<declare name="a" type="Real" array="False" size=""/>
<declare name="b" type="Real" array="False" size=""/>
<declare name="c" type="Real" array="False" size=""/>
<declare name="p" type="Real" array="False" size=""/>
<output expression="&quot;Unesi prvu stranicu: &quot;" newline="True"/>
<input variable="a"/>
<output expression="&quot;Unesi drugu stranicu: &quot;" newline="True"/>
<input variable="b"/>
<output expression="&quot;Unesi trecu stranicu: &quot;" newline="True"/>
<input variable="c"/>
<assign variable="s" expression="(a+b+c) / 2"/>
<assign variable="p" expression="sqrt(s *(s-a)*(s-b)*(s-c))"/>
</body>
</function>
</flowgorithm>