From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1964/CH15/EX15.1/ex15_1.sce | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 1964/CH15/EX15.1/ex15_1.sce (limited to '1964/CH15/EX15.1/ex15_1.sce') 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======================================================================================================= -- cgit