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