Ejercicio Fox

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

CLEAR

SET COLOR TO 7 + 8

STORE SPACE (15) TO a,b

STORE 0 TO c,d,e,f,g,h,i,j,k

@1,45 SAY "DESPENSA FAMILIAR" FONT "CASTELLAR", 30

@4,45 SAY "NIT" FONT "CASTELLAR", 30

@18,1 SAY "CODIGO" FONT "COPPERPLATCE", 20

@20,45 GET a

@22,45 GET b

@18,95 SAY "PRECIO" FONT "COPPERPLATCE", 20

@20,95 GET c

@22,95 GET d

@26,10 SAY "DESCUENTO" FONT "COPPERPLATCE", 20

@26,70 SAY "IVA" FONT "COPPERPLATCE", 20

@26,105 SAY "TOTAL" FONT "COPPERPLATCE", 20

READ

e=c*0.05

@28,10 SAY e FONT "COPPERPLATCE", 20

f=d*0.05

@30,10 SAY f FONT "COPPERPLATCE", 20


h=c*0.12

@28,70 SAY h FONT "COPPERPLATCE", 20

i=d*0.12

@30,70 SAY i FONT "COPPERPLATCE", 20

j=c-e-h

@28,105 SAY j FONT "COPPERPLATCE", 20

k=d-f-i

@30,105 SAY k FONT "COPPERPLATCE", 20

You might also like