Upload files to "/"
This commit is contained in:
56
kategoriUmur.fprg
Normal file
56
kategoriUmur.fprg
Normal file
@@ -0,0 +1,56 @@
|
||||
<?xml version="1.0"?>
|
||||
<flowgorithm fileversion="4.2">
|
||||
<attributes>
|
||||
<attribute name="name" value="kategoriUmur"/>
|
||||
<attribute name="authors" value="yuvlian"/>
|
||||
<attribute name="about" value=""/>
|
||||
<attribute name="saved" value="2026-02-26 08:37:38 AM"/>
|
||||
<attribute name="created" value="eXV2bGlhbjtDT1NNT1M7MjAyNi0wMi0yNjswODowMzozMSBBTTsyNTA4"/>
|
||||
<attribute name="edited" value="eXV2bGlhbjtDT1NNT1M7MjAyNi0wMi0yNjswODozNzozOCBBTTsxOzI2MzA="/>
|
||||
</attributes>
|
||||
<function name="Main" type="None" variable="">
|
||||
<parameters/>
|
||||
<body>
|
||||
<declare name="umur" type="Integer" array="False" size=""/>
|
||||
<declare name="kategori" type="String" array="False" size=""/>
|
||||
<input variable="umur"/>
|
||||
<if expression="umur < 0">
|
||||
<then>
|
||||
<assign variable="kategori" expression=""Umur harus 0 atau lebih""/>
|
||||
</then>
|
||||
<else>
|
||||
<if expression="umur < 6">
|
||||
<then>
|
||||
<assign variable="kategori" expression=""Balita""/>
|
||||
</then>
|
||||
<else>
|
||||
<if expression="umur < 13">
|
||||
<then>
|
||||
<assign variable="kategori" expression=""Anak-Anak""/>
|
||||
</then>
|
||||
<else>
|
||||
<if expression="umur < 20">
|
||||
<then>
|
||||
<assign variable="kategori" expression=""Remaja""/>
|
||||
</then>
|
||||
<else>
|
||||
<if expression="umur < 60">
|
||||
<then>
|
||||
<assign variable="kategori" expression=""Dewasa""/>
|
||||
</then>
|
||||
<else>
|
||||
<assign variable="kategori" expression=""Lansia""/>
|
||||
</else>
|
||||
</if>
|
||||
</else>
|
||||
</if>
|
||||
</else>
|
||||
</if>
|
||||
</else>
|
||||
</if>
|
||||
</else>
|
||||
</if>
|
||||
<output expression="kategori" newline="True"/>
|
||||
</body>
|
||||
</function>
|
||||
</flowgorithm>
|
||||
Reference in New Issue
Block a user