Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

convert binary digits to decimal

  Asked By: Charlie    Date: Jun 03    Category: Java    Views: 2131

I need a program in java which can convert binary digits to
decimal and vice versa using bitwise operators. If anyone of u
have any idea i would appreciate. Kindly response me asap.



2 Answers Found

Answer #1    Answered By: Horia Ahmed     Answered On: Jun 03

i can't ell u the whole code but i think u'll be familier with
their formulas which converts then from binary  to decimal  and decimal to binay
try to implement those formulas i hope u can find thses in any book of ICS or
even every book which discuss thses operators  but its better you to go for
Digital computer login and design's book you find them and if still u feel
problem them ask again i'll try to help you.

Answer #2    Answered By: Sophie Williamson     Answered On: Jun 03

Download the book Thinking in Java by Bruce Eckel at
http://www.mindview.net/Books . Take a look at chapter

Didn't find what you were looking for? Find more on convert binary digits to decimal Or get search suggestion and latest updates.