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.3/ex15_3.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 1964/CH15/EX15.3/ex15_3.sce (limited to '1964/CH15/EX15.3/ex15_3.sce') diff --git a/1964/CH15/EX15.3/ex15_3.sce b/1964/CH15/EX15.3/ex15_3.sce new file mode 100755 index 000000000..727e2f530 --- /dev/null +++ b/1964/CH15/EX15.3/ex15_3.sce @@ -0,0 +1,13 @@ +//Chapter-15, Example 15.3, Page 493 +//============================================================================= +clc +clear +//INPUT DATA +x1=112;//in decimal form +x2=253;//in decimal form +//CALCULATIONS +y1=dec2base(x1,16)//converting decimal to hexadecimal +y2=dec2base(x2,16)//converting decimal to hexadecimal +disp(y1); +disp(y2); +//=================================END OF PROGRAM======================================================================================================= -- cgit