summaryrefslogtreecommitdiff
path: root/911/CH11/EX11.1.c/ex_11_1_c.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH11/EX11.1.c/ex_11_1_c.sce')
-rw-r--r--911/CH11/EX11.1.c/ex_11_1_c.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/911/CH11/EX11.1.c/ex_11_1_c.sce b/911/CH11/EX11.1.c/ex_11_1_c.sce
new file mode 100644
index 000000000..1f9c45556
--- /dev/null
+++ b/911/CH11/EX11.1.c/ex_11_1_c.sce
@@ -0,0 +1,12 @@
+//example 11.1(c)//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=4+4+1+1;
+//given no of inputs//
+o=4+1;
+//given no of outputs//
+s=2^a*o;
+//size of prom//
+disp(s,'size of PROM =') \ No newline at end of file