diff options
Diffstat (limited to '911/CH7/EX7.6/ex_7_6.sce')
-rw-r--r-- | 911/CH7/EX7.6/ex_7_6.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/911/CH7/EX7.6/ex_7_6.sce b/911/CH7/EX7.6/ex_7_6.sce new file mode 100644 index 000000000..35e57a68d --- /dev/null +++ b/911/CH7/EX7.6/ex_7_6.sce @@ -0,0 +1,12 @@ +// example 7.6//
+clc
+clear
+n=input('Enter the no. of terms in your expression : ' );
+//accepting input from user//
+for i =1: n
+a(1,i)= input('Enter the term (0-9): ' );
+end
+disp ('Since at the decoder output we get all the minterms we use them to get the required boolean functions by giving the output lines numbered');
+disp(a);
+//displaying the result//
+disp('to a multi-input OR gate.' );
\ No newline at end of file |