summaryrefslogtreecommitdiff
path: root/2825/CH19/EX19.22/Ex19_22.sce
blob: e3f06ae52df581210fda03eeb9e5f03dfa6041db (plain)
1
2
3
4
5
6
7
//Ex19_22 Pg-966
clc

dec=2479 //decimal input
hex=dec2hex(dec) //hexadecimal output
disp("The Hexadecimal equivalent of 2479 is")
disp(hex)