-
Notifications
You must be signed in to change notification settings - Fork 0
/
41-Kullanıcıdan Alınan Kelimenin Ters Halini Ve Uzunluğunu Veren Program.fprg
36 lines (36 loc) · 2.03 KB
/
41-Kullanıcıdan Alınan Kelimenin Ters Halini Ve Uzunluğunu Veren Program.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
<?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-09-08 04:21:41 ÖS"/>
<attribute name="created" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOS0wODswNDoxMTo0OSDDllM7MjgwMg=="/>
<attribute name="edited" value="aHVzZXk7SMWhU0VZSU47MjAyMy0wOS0wODswNDoyMTo0MSDDllM7MjsyOTA0"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="str, ters" type="String" array="False" size=""/>
<declare name="i" type="Integer" array="False" size=""/>
<assign variable="ters" expression=""""/>
<output expression=""Lütfen tersten yazdırmak istediğiniz kelimeyi giriniz."" newline="True"/>
<input variable="str"/>
<for variable="i" start="0" end="Len(str) - 1" direction="inc" step="1">
<assign variable="ters" expression="Char(str, i) & ters"/>
</for>
<output expression=""Girmiş olduğunuz kelimenin tersten yazılmış hali: " & ters" newline="True"/>
<if expression="Len(str) > 5">
<then>
<for variable="i" start="0" end="Len(Str) - 1" direction="inc" step="1">
<output expression=""Girmiş olduğunuz string değerinin Char hali: " & Char(str, i)" newline="True"/>
</for>
<output expression=""Girmiş olduğunuz string değerinin uzunluğu: " & Len(str)" newline="True"/>
</then>
<else>
<output expression=""Girmiş olduğunuz string değerin uzunluğu: " & Len(str)" newline="True"/>
</else>
</if>
</body>
</function>
</flowgorithm>