summaryrefslogtreecommitdiff
path: root/2825/CH19/EX19.8/Ex19_8.sce
blob: ba56061086946933ae513e3d0ff33ae4b1c99aa6 (plain)
1
2
3
4
5
6
7
//Ex19_8 Pg-959 
clc

dec=13 //decimal input
bin=dec2bin(dec) //binary output
disp("The binary equivalent of 13 is")
disp(bin)