diff options
Diffstat (limited to '3860/CH1/EX1.11/Ex1_11.sce')
-rw-r--r-- | 3860/CH1/EX1.11/Ex1_11.sce | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/3860/CH1/EX1.11/Ex1_11.sce b/3860/CH1/EX1.11/Ex1_11.sce new file mode 100644 index 000000000..8d59874a7 --- /dev/null +++ b/3860/CH1/EX1.11/Ex1_11.sce @@ -0,0 +1,6 @@ +//Example 1.11 Conversion from decimal number to Hexadecimal number.
+clc;
+x = 746;
+z = dec2hex(x); //hexadecimal equivalent of decimal number
+disp('The hexadecimal number is = ');
+disp(z) // answer in hexadecimal form
|