-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAltınOran.fprg
30 lines (30 loc) · 1.77 KB
/
AltınOran.fprg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<?xml version="1.0"?>
<flowgorithm fileversion="4.2">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="veysel"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2024-08-06 09:07:24 ÖS"/>
<attribute name="created" value="dmV5c2VsO1ZFWVNFTC1QQzsyMDI0LTA4LTA2OzA3OjI3OjIzIMOWUzsyNzU1"/>
<attribute name="edited" value="dmV5c2VsO1ZFWVNFTC1QQzsyMDI0LTA4LTA2OzA5OjA3OjI0IMOWUzs0OzI4Njc="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="oncekideger, sonrakideger, elemansayisi, bulundugudeger, sayac" type="Integer" array="False" size=""/>
<assign variable="elemansayisi" expression="20"/>
<assign variable="oncekideger" expression="1"/>
<assign variable="bulundugudeger" expression="1"/>
<assign variable="sonrakideger" expression="oncekideger+bulundugudeger"/>
<output expression=""fibanocci " &oncekideger" newline="True"/>
<output expression=""fibanocci " &sonrakideger" newline="True"/>
<for variable="sayac" start="3" end="20" direction="inc" step="1">
<assign variable="sonrakideger" expression="oncekideger+bulundugudeger"/>
<output expression=""sonraki fibanocci ("&sonrakideger&")"&sonrakideger" newline="True"/>
<output expression=""oran:"&sonrakideger/bulundugudeger" newline="True"/>
<assign variable="oncekideger" expression="bulundugudeger"/>
<assign variable="bulundugudeger" expression="sonrakideger"/>
</for>
</body>
</function>
</flowgorithm>