-
Notifications
You must be signed in to change notification settings - Fork 0
/
6-Parçalı Fonksiyon Hesaplama (2).fprg
47 lines (47 loc) · 2.06 KB
/
6-Parçalı Fonksiyon Hesaplama (2).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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="husey"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2023-08-12 01:00:14 ÖS"/>
<attribute name="created" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOC0xMjsxMjo1NjoyNSDDllM7Mjc5OA=="/>
<attribute name="edited" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOC0xMjswMTowMDoxNCDDllM7MTsyODkx"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="x, y" type="Real" array="False" size=""/>
<output expression=""Lütfen bir x değeri giriniz."" newline="True"/>
<input variable="x"/>
<if expression="x > 20">
<then>
<assign variable="y" expression="x * 10"/>
</then>
<else>
<if expression="x >= 10 && x <= 20">
<then>
<assign variable="y" expression="x * 5"/>
</then>
<else>
<if expression="x < 10 && x >= 5">
<then>
<assign variable="y" expression="x * 2"/>
</then>
<else>
<if expression="x < 5">
<then>
<assign variable="y" expression="x * 1"/>
</then>
<else/>
</if>
</else>
</if>
</else>
</if>
</else>
</if>
<output expression=""Sonucunuz: " & y" newline="True"/>
</body>
</function>
</flowgorithm>