summaryrefslogtreecommitdiff
path: root/3836/CH9/EX9.11
diff options
context:
space:
mode:
Diffstat (limited to '3836/CH9/EX9.11')
-rw-r--r--3836/CH9/EX9.11/Ex9_11.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3836/CH9/EX9.11/Ex9_11.sce b/3836/CH9/EX9.11/Ex9_11.sce
new file mode 100644
index 000000000..91943d19a
--- /dev/null
+++ b/3836/CH9/EX9.11/Ex9_11.sce
@@ -0,0 +1,11 @@
+clear
+//initialization
+n='A013' //Hex number
+
+//Calculation
+w=hex2dec(n) //Hex to Decimal Coversion
+
+
+//Result
+printf("\n W = %d",w)
+