Upload files to "lv3"
This commit is contained in:
parent
103f980c1a
commit
0a94935153
4 changed files with 125 additions and 0 deletions
29
lv3/lv_2_2._pseudokod.fprg
Normal file
29
lv3/lv_2_2._pseudokod.fprg
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<?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=""Unesi prvu stranicu: "" newline="True"/>
|
||||
<input variable="a"/>
|
||||
<output expression=""Unesi drugu stranicu: "" newline="True"/>
|
||||
<input variable="b"/>
|
||||
<output expression=""Unesi trecu stranicu: "" 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue