-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path20230117_Bulan.fprg
More file actions
49 lines (49 loc) · 2.53 KB
/
20230117_Bulan.fprg
File metadata and controls
49 lines (49 loc) · 2.53 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?xml version="1.0"?>
<flowgorithm fileversion="3.0">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="UMUM"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2023-01-17 11:30:15 AM"/>
<attribute name="created" value="VU1VTTtERVNLVE9QLVY2NVA5NDg7MjAyMy0wMS0xNzsxMDozNjo0MyBBTTsyNjA3"/>
<attribute name="edited" value="VU1VTTtERVNLVE9QLVY2NVA5NDg7MjAyMy0wMS0xNzsxMTozMDoxNSBBTTsxOzI3MDk="/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="nomorBulan" type="Integer" array="False" size=""/>
<output expression=""Masukkan nomor bulan"" newline="True"/>
<input variable="nomorBulan"/>
<output expression="getNamaBulan(nomorBulan)" newline="True"/>
</body>
</function>
<function name="getNamaBulan" type="String" variable="name">
<parameters>
<parameter name="index" type="Integer" array="False"/>
</parameters>
<body>
<declare name="namaBulan" type="String" array="True" size="13"/>
<declare name="name" type="String" array="False" size=""/>
<assign variable="namaBulan[1]" expression=""Januari""/>
<assign variable="namaBulan[2]" expression=""Februari""/>
<assign variable="namaBulan[3]" expression=""Maret""/>
<assign variable="namaBulan[4]" expression=""April""/>
<assign variable="namaBulan[5]" expression=""Mei""/>
<assign variable="namaBulan[6]" expression=""Juni""/>
<assign variable="namaBulan[7]" expression=""Juli""/>
<assign variable="namaBulan[8]" expression=""Agustus""/>
<assign variable="namaBulan[9]" expression=""September""/>
<assign variable="namaBulan[10]" expression=""Oktober""/>
<assign variable="namaBulan[11]" expression=""November""/>
<assign variable="namaBulan[12]" expression=""Desember""/>
<if expression="index < 1 || index > 12">
<then>
<assign variable="name" expression=""Tidak ada bulan ke-" & index"/>
</then>
<else>
<assign variable="name" expression="namaBulan[index]"/>
</else>
</if>
</body>
</function>
</flowgorithm>