From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 462/CH2/EX2.2.c/ex_2_2_c.sce | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 462/CH2/EX2.2.c/ex_2_2_c.sce (limited to '462/CH2/EX2.2.c/ex_2_2_c.sce') diff --git a/462/CH2/EX2.2.c/ex_2_2_c.sce b/462/CH2/EX2.2.c/ex_2_2_c.sce new file mode 100755 index 000000000..50e8c8d4f --- /dev/null +++ b/462/CH2/EX2.2.c/ex_2_2_c.sce @@ -0,0 +1,6 @@ +//example 2.2(c)// +//decimal to binary conversion// +ans=bin2dec('11111111') +//decimal equivalent of binary number// +disp(ans) +//answer in decimal form// \ No newline at end of file -- cgit