-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path01_SumarValores.fprg
37 lines (37 loc) · 1.8 KB
/
01_SumarValores.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
<?xml version="1.0"?>
<flowgorithm fileversion="2.11">
<attributes>
<attribute name="name" value=""/>
<attribute name="authors" value="Luis Monge"/>
<attribute name="about" value=""/>
<attribute name="saved" value="2019-09-12 08:29:15 PM"/>
<attribute name="created" value="THVpcyBNb25nZTtNSU5HOzIwMTktMDgtMjY7MTA6NTg6MjggQU07MjUyNw=="/>
<attribute name="edited" value="THVpcyBNb25nZTtNSU5HOzIwMTktMDktMTI7MDg6Mjk6MTUgUE07ODsyNjU0"/>
</attributes>
<function name="Main" type="None" variable="">
<parameters/>
<body>
<declare name="cantidadDinero, existenFugas" type="Integer" array="False" size=""/>
<output expression=""Dime cuanto te cobran por el agua mensualmente"" newline="True"/>
<input variable="cantidadDinero"/>
<if expression="cantidadDinero>=800">
<then>
<output expression=""Su consumo es alto"" newline="True"/>
<output expression=""Verificar si existen fugas, responder (Si con un 1 o No con un 0)"" newline="True"/>
<input variable="existenFugas"/>
<if expression="existenFugas>=1">
<then>
<output expression=""Arreglar fugas"" newline="True"/>
</then>
<else>
<output expression=""Solo pueden bañarse un dia a la semana"" newline="True"/>
</else>
</if>
</then>
<else>
<output expression=""Su consumo es bajo"" newline="True"/>
</else>
</if>
</body>
</function>
</flowgorithm>