summaryrefslogtreecommitdiff
path: root/2459/CH28/EX28.3/Ex28_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2459/CH28/EX28.3/Ex28_3.sce')
-rw-r--r--2459/CH28/EX28.3/Ex28_3.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/2459/CH28/EX28.3/Ex28_3.sce b/2459/CH28/EX28.3/Ex28_3.sce
new file mode 100644
index 000000000..7708f253c
--- /dev/null
+++ b/2459/CH28/EX28.3/Ex28_3.sce
@@ -0,0 +1,6 @@
+//chapter28
+//example28.3
+//page591
+
+a= bin2dec ( ' 110001 ' )
+printf("equivalent decimal of binary 110001 is %d \n",a)