-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathGirilen Sayının Faktöriyelini Hesaplamak.fprg
More file actions
24 lines (24 loc) · 1.25 KB
/
Copy pathGirilen Sayının Faktöriyelini Hesaplamak.fprg
File metadata and controls
24 lines (24 loc) · 1.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="LENOVO"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2022-01-01 09:46:47 ÖS"/>
<attribute name="created" value="TEVOT1ZPO0RFU0tUT1AtU0RQVFBRODsyMDIyLTAxLTAxOzA5OjM5OjM3IMOWUzszMDA1"/>
<attribute name="edited" value="TEVOT1ZPO0RFU0tUT1AtU0RQVFBRODsyMDIyLTAxLTAxOzA5OjQ2OjQ3IMOWUzsxOzMxMTI="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="sayi, sayac, faktoriyel" type="Integer" array="False" size=""/>
<assign variable="faktoriyel" expression="1"/>
<output expression=""Faktöriyelini Hesaplamak İstediğiniz Sayıyı Giriniz : "" newline="True"/>
<input variable="sayi"/>
<for variable="sayac" start="1" end="sayi" direction="inc" step="1">
<assign variable="faktoriyel" expression="faktoriyel * sayac"/>
</for>
<output expression="sayi & "!" & " = " & faktoriyel" newline="True"/>
</body>
</function>
</flowgorithm>