//Example 3.2: Combining minterms in four variable karnaugh map
clc; //clears the console
clear; //clears all existing variables
disp(' The given function is having four input variables  A , B , C and D')
disp(' The minterms are be combined using the adjacency property')
disp(' m13 + m9 : ABC''D + AB''C''D = AC''D')
disp(' m3 + m11 : A''B''CD + AB''CD = B''CD')
disp(' m0 + m2 : A''B''C''D'' + A''B''CD'' = A''B''D''')