Question d’entretien chez Cognizant

Write a program corresponding to AND, OR, NOT digital gates