ok i am trying to make a program that does price of item plus tax then prints final price out , but for some reason i keep getting "0"
here is my code so far
CLS
INPUT "Price of Item", price#
tax! = .07
atax = price# * tax!
fprice# = atax + price#
PRINT "Final Price", fprice
LPRINT "ABC Recipt", fprice#
END
Comments
: ok i am trying to make a program that does price of item plus tax then prints final price out , but for some reason i keep getting "0"
: here is my code so far
:
: CLS
: INPUT "Price of Item", price#
: tax! = .07
: atax = price# * tax!
: fprice# = atax + price#
: PRINT "Final Price", fprice[b]# 'Added type symbol[/b]
: LPRINT "ABC Recipt", fprice#
: END
CLS
INPUT "Price of Item",x$
y$= .07
z$= x$ * y$
loacte 1,2
print "final price:"
loacte 1,14
print z$
LPRINT x$
now you only have to rearange the text
good luck
urban guerrilla freackware anyware