Upload files to "lv3"
This commit is contained in:
parent
103f980c1a
commit
0a94935153
4 changed files with 125 additions and 0 deletions
27
lv3/lv_2_1._preudokod.fprg
Normal file
27
lv3/lv_2_1._preudokod.fprg
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
<?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=""Unesi prvu stranicu: "" newline="True"/>
|
||||
<input variable="a"/>
|
||||
<output expression=""Unesi drugu stanicu: "" newline="True"/>
|
||||
<input variable="b"/>
|
||||
<assign variable="h" expression="sqrt(a*a + b*b)"/>
|
||||
<assign variable="p" expression="a*b /2"/>
|
||||
<output expression=""Hipotenuzu tih dvije stranice je: " & h & ", a povrsina je: " & p" newline="True"/>
|
||||
</body>
|
||||
</function>
|
||||
</flowgorithm>
|
||||
Loading…
Add table
Add a link
Reference in a new issue