Guest_imported
New member
- Jan 1, 1970
- 0
For example you want a program that allows you to type in the formula, then it prints out the answer.
Such as
INPUT "Please type in your formula :"; formula$
' if type in "A + B - C"
' formula$ = "A + B - C"
A = 1
B = 2
C = 3
'
'How can I get the result
'according to the formula I typed in
'
'Such as:
'Y = A + B - C
'
Print "Result is"; Y
Thanks Very Much for your help
Such as
INPUT "Please type in your formula :"; formula$
' if type in "A + B - C"
' formula$ = "A + B - C"
A = 1
B = 2
C = 3
'
'How can I get the result
'according to the formula I typed in
'
'Such as:
'Y = A + B - C
'
Print "Result is"; Y
Thanks Very Much for your help