how to compare the second input

Discussion in 'General Electronics Chat' started by needroom, Feb 28, 2010.

Thread Status:
Not open for further replies.
  1. needroom

    Thread Starter New Member

    Feb 23, 2010
    7
    0
    Hi All

    I am using 2-4 decoder to decode the input selection but how to do the below to compare the second input? Tks.
    "If the previous selection was ’11’, the price of item ‘10’ is discounted to $1 and price of item ‘11’ is discounted to $2"
     
  2. beenthere

    Retired Moderator

    Apr 20, 2004
    15,815
    282
Loading...
Thread Status:
Not open for further replies.