diff options
Diffstat (limited to '273/CH25/EX25.15/ex25_15.sce')
-rwxr-xr-x | 273/CH25/EX25.15/ex25_15.sce | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/273/CH25/EX25.15/ex25_15.sce b/273/CH25/EX25.15/ex25_15.sce new file mode 100755 index 000000000..2584cf8d5 --- /dev/null +++ b/273/CH25/EX25.15/ex25_15.sce @@ -0,0 +1,10 @@ +clc;clear;
+//Example 25.15
+//conversion of decimal to binary
+
+//given values
+X=43;//decimal number
+
+//calculation
+Z=dec2bin(X);
+disp(Z,'binary equivalent of the given decimal number is');
|