diff options
Diffstat (limited to '911/CH1/EX1.13.c/ex_1_13_c.sce')
-rw-r--r-- | 911/CH1/EX1.13.c/ex_1_13_c.sce | 9 |
1 files changed, 9 insertions, 0 deletions
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 |