summaryrefslogtreecommitdiff
path: root/911/CH1/EX1.13.c
diff options
context:
space:
mode:
Diffstat (limited to '911/CH1/EX1.13.c')
-rw-r--r--911/CH1/EX1.13.c/ex_1_13_c.pdfbin0 -> 108089 bytes
-rw-r--r--911/CH1/EX1.13.c/ex_1_13_c.sce9
2 files changed, 9 insertions, 0 deletions
diff --git a/911/CH1/EX1.13.c/ex_1_13_c.pdf b/911/CH1/EX1.13.c/ex_1_13_c.pdf
new file mode 100644
index 000000000..ecd1237c8
--- /dev/null
+++ b/911/CH1/EX1.13.c/ex_1_13_c.pdf
Binary files differ
diff --git a/911/CH1/EX1.13.c/ex_1_13_c.sce b/911/CH1/EX1.13.c/ex_1_13_c.sce
new file mode 100644
index 000000000..f11f53436
--- /dev/null
+++ b/911/CH1/EX1.13.c/ex_1_13_c.sce
@@ -0,0 +1,9 @@
+//example 1.13.c//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=dec2bin(2,12)
+b=dec2bin(7,4)
+d=100000+0111
+disp(d,'BCD equivalent of 27 =') \ No newline at end of file