diff options
Diffstat (limited to '863/CH11/EX11.3/Ex11_3.txt')
-rw-r--r-- | 863/CH11/EX11.3/Ex11_3.txt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/863/CH11/EX11.3/Ex11_3.txt b/863/CH11/EX11.3/Ex11_3.txt new file mode 100644 index 000000000..53cd5c6f5 --- /dev/null +++ b/863/CH11/EX11.3/Ex11_3.txt @@ -0,0 +1,14 @@ +//Caption:Determine output for given logic circuit
+//Ex11.3
+clc;
+clear;
+close;
+A=1
+B=0
+C=1
+D=1
+c=A-1
+n=c//Output of NOT gate
+a=B*C*D//Output of AND gate
+o=c+(B*C*D)//Output of OR gate
+disp(o,'Output for given logic circuit is=')
\ No newline at end of file |