lv/lv3/lv_2_1._preudokod.fprg
2025-10-10 14:13:09 +02:00

27 lines
1.4 KiB
XML

<?xml version="1.0"?>
<flowgorithm fileversion="4.2">
<attributes>
<attribute name="name" value="lv_2_1._preudokod"/>
<attribute name="authors" value="student"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2025-10-10 11:30:22 AM"/>
<attribute name="created" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMToyNDoyOSBBTTszMTE3"/>
<attribute name="edited" value="c3R1ZGVudDtERVNLVE9QLVEyRU1PQU87MjAyNS0xMC0xMDsxMTozMDoyMiBBTTsxOzMyMTU="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="a" type="Real" array="False" size=""/>
<declare name="b" type="Integer" array="False" size=""/>
<declare name="h" type="Real" array="False" size=""/>
<declare name="p" type="Integer" array="False" size=""/>
<output expression="&quot;Unesi prvu stranicu: &quot;" newline="True"/>
<input variable="a"/>
<output expression="&quot;Unesi drugu stanicu: &quot;" newline="True"/>
<input variable="b"/>
<assign variable="h" expression="sqrt(a*a + b*b)"/>
<assign variable="p" expression="a*b /2"/>
<output expression="&quot;Hipotenuzu tih dvije stranice je: &quot; &amp; h &amp; &quot;, a povrsina je: &quot; &amp; p" newline="True"/>
</body>
</function>
</flowgorithm>