A Coin is tossed 3 times. A win is said to occur if the result obtained is Heads for at least 2 tosses. Taking A, B, C
as inputs and W as output, write a truth table, given that A, B, C are 1 if the result is Heads or 0 if the result is
Tails; and W is 1 if a win occurs otherwise it is 0.
(a) Draw the truth table with inputs A, B, C and its output W.
(b) Write the SOP expression for W(A, B, C) using minterms. Implement W using NAND gates only