summaryrefslogtreecommitdiff
path: root/1964/CH15/EX15.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1964/CH15/EX15.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1964/CH15/EX15.1')
-rwxr-xr-x1964/CH15/EX15.1/ex15_1.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1964/CH15/EX15.1/ex15_1.sce b/1964/CH15/EX15.1/ex15_1.sce
new file mode 100755
index 000000000..7b97789f4
--- /dev/null
+++ b/1964/CH15/EX15.1/ex15_1.sce
@@ -0,0 +1,11 @@
+//Chapter-15, Example 15.1, Page 492
+//=============================================================================
+clc
+clear
+//INPUT DATA
+x=12;//in decimal form
+//CALCULATIONS
+y=dec2oct(x);//converting to octal form
+mprintf("Thus octal number is");
+disp(y);
+//=================================END OF PROGRAM=======================================================================================================