summaryrefslogtreecommitdiff
path: root/Working_Examples/293/CH11/EX11.3/eg11_3.sce
blob: 3d06f0403235c05395efefb0c01c637d12da00d2 (plain)
1
2
3
4
5
N = 247;
N2 = dec2bin(N); //binary equivalent of N
N8 = dec2oct(N); //octal equivalent of N
disp(N2, "binary equivalent of 247 = ")
disp(N8, "octal equivalent of 247 = ")