I have taken two inputs Income and Expenses from the user, let’s say number 1 and number 2.
How can I show the subtraction of these two numbers in a third question?
Best answer by john.desborough
View originalI have taken two inputs Income and Expenses from the user, let’s say number 1 and number 2.
How can I show the subtraction of these two numbers in a third question?
Best answer by john.desborough
View originalcreate a variable call it v_netrev for example and set it to 0 by default
then if income is q1 and expenses is q2:
you can then @recall the v_netrev variable as the difference between the two numbers.
cheers
des
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.