Author: De la construcción y la fotografía, Rafael Losada Liste
Date: 17 Octubre 2013

  LA SANDÍA ALEGRE
Cafetería - Restaurante

Su cuenta, gracias:

:

:

:

Precio sin IVA :

Total a pagar :

Total consumiciones :

a1 = 0
c1 = Textfield(a1)
a2 = 0
a3 = 0
a4 = 0
a5 = 0
a6 = 0
c2 = Textfield(a2)
c3 = Textfield(a3)
c6 = Textfield(a6)
a7 = 0
a8 = 0
c8 = Textfield(a8)
A = (0, 0.5)
B = (9.5, 0.5)
C = (9.54, -3.86)
D = (-0.02, -3.86)
polígono1, a, b, c, d = Polygon(A, B, C, D)
n1a = Random(2, 6)
n1b = Random(9, 17)
n2b: Random[15, 20] / 10
n2a = Random(2, 4)
n3a = Random(2, 6)
texto1: "" + n1a + " menús del día a " + n1b + " €"
texto2: "" + n2a + " zumos naranja a " + n2b + " €"
n3b: Random[15, 20] / 10
texto3: "" + n3a + " cafés a " + n3b + " €"
p1: (n1a * n1b)
p2: (n2a * n2b)
p3: (n3a * n3b)
p4: p1 + p2 + p3
p5: (0.2 * p4)
p6: (0.8 * p4)
p7: round((10 * p6)) / 100
p8: p7 + p6
texto4: "Descuento Happy Day (20%): " + p5 + ""
c4 = Textfield(a4)
texto5: "IVA (10%): " + p7 + ""