summaryrefslogtreecommitdiff
path: root/1241/CH2/EX2.20
diff options
context:
space:
mode:
Diffstat (limited to '1241/CH2/EX2.20')
-rwxr-xr-x1241/CH2/EX2.20/exa2_20.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/1241/CH2/EX2.20/exa2_20.sce b/1241/CH2/EX2.20/exa2_20.sce
new file mode 100755
index 000000000..85dc2b09c
--- /dev/null
+++ b/1241/CH2/EX2.20/exa2_20.sce
@@ -0,0 +1,6 @@
+//Example 2-20//
+//Decimal to hexadecimal conversion//
+a=dec2hex(423)
+//hexadecimal equivalent of the decimal number//
+disp(a)
+//answer in hexadecimal form//