A Coffee Machine Question

Status
Not open for further replies.

transgalactic

Newbie level 6
Joined
Apr 4, 2008
Messages
13
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,367
there is a coffee machine
the cost of a coffee is 1.5 dollars
we cant put a coin of 1 dollar and a half dollar together
x0=1 says that half of a dollar was inputed
x1=1 says that 1 dollar inputed

z0=1 the machine should output coffee
z1=1 the machine should output change

i have solved it till some point
but then i got confused regarding how to build an output table for this function
plus there are two input situations
i dont know how many variables to write in the karno tables

my main concern is the output table

https://img204.imageshack.us/my.php?image=img86901ri0.jpg

thanks
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…