summaryrefslogtreecommitdiff
path: root/2825/CH19/EX19.13/Ex19_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2825/CH19/EX19.13/Ex19_13.sce')
-rwxr-xr-x2825/CH19/EX19.13/Ex19_13.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/2825/CH19/EX19.13/Ex19_13.sce b/2825/CH19/EX19.13/Ex19_13.sce
new file mode 100755
index 000000000..37182261d
--- /dev/null
+++ b/2825/CH19/EX19.13/Ex19_13.sce
@@ -0,0 +1,7 @@
+//Ex19_13 Pg-962
+clc
+
+dec=175; //binary input
+oct=dec2oct(dec) //decimal output
+disp("The octal equivslent of 175 is")
+disp(oct)