diff options
Diffstat (limited to '2825/CH19/EX19.8')
-rwxr-xr-x | 2825/CH19/EX19.8/Ex19_8.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/2825/CH19/EX19.8/Ex19_8.sce b/2825/CH19/EX19.8/Ex19_8.sce new file mode 100755 index 000000000..ba5606108 --- /dev/null +++ b/2825/CH19/EX19.8/Ex19_8.sce @@ -0,0 +1,7 @@ +//Ex19_8 Pg-959
+clc
+
+dec=13 //decimal input
+bin=dec2bin(dec) //binary output
+disp("The binary equivalent of 13 is")
+disp(bin)
|