Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

java program to perform binary addition,subtraction and modulus.

843785Mar 16 2009 — edited Mar 17 2009
i am a newbie to java and require ur urgent help plzzzz.
i wanna perform binary addition,subtraction and modulus operation between two numbers of 512 bit without using java functions i.e by simple logics of control statements.i need to convert two 512 bit numbers passed as string into binary form, and then perform addition,subtraction and modulus operations on these two binary numbers and finally dipaly the result in decimal format.
i think we may use full adder binary logic in this!!!

please send me the java coding for these three operations as urgent as possible on my email.
i would be highly obliged.

thanks.

sheetal.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Apr 14 2009
Added on Mar 16 2009
71 comments
989 views