summaryrefslogtreecommitdiff
path: root/1241/CH2/EX2.5/exa2_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1241/CH2/EX2.5/exa2_5.sce')
-rwxr-xr-x1241/CH2/EX2.5/exa2_5.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1241/CH2/EX2.5/exa2_5.sce b/1241/CH2/EX2.5/exa2_5.sce
new file mode 100755
index 000000000..4ecf3b125
--- /dev/null
+++ b/1241/CH2/EX2.5/exa2_5.sce
@@ -0,0 +1,6 @@
+//Example 2-5//
+//Decimal to binary conversion//
+a=dec2bin(200)
+//Binary equivalent of the decimal number//
+disp(a)
+//answer in binary form//