Several Table, need the total discount

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have several tables RED, BLUE, YELLOW and TOTAL DISCOUNT
I need to calculate the greatest amount of the three and give a total
discount.
EX. 2ND DAY=$5, 3RD DAY=$7, TODAY'S PRICE=$8
TOTAL DISCOUNT WOULD EQUAL 2ND DAY (SINCE ITS THE LOWEST) TO TODAY'S PRICE =
$5-$8=TOTAL DISCOUNT=$3
and in the same respect, I need to show that if TODAY'S PRICE is the lowest
to equal TOTAL DISCOUNT=ZERO
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top