if input variables have more 1's than 0's, a majority function isgenerated in combinational logic circuits with an output equal to1. otherwise the output is equal to 0.design three input majority functions following the steps and conditions given below:
a) derive the truth table
b) simplified and express the function in SAO form (SOP)
c) implement the function using only nand gate