Binary system

Sep 25, 2011 at 9:38am
Pls help to solve this problem with explanation
I think here firs of all i have to convert binary to decimal then decimal to binary
1
2
3
4
5
6
7
Input

   In some line contains two non-negative integers A and B in the binary system, the number of digits in each of which does not exceed 1000.

   Output

   Derive the sum A + B in binary notation.
Sep 25, 2011 at 9:47am
Do you know how binary works?

(From right to left) The first number symbolizes 1, then 2, then 4, then 8, then 16 etc. e.g. 001 is one, 1101 is 13, 0010 is two and so on.
Sep 25, 2011 at 9:56am
to understand I need peogram
Sep 25, 2011 at 10:00am
A program that does what?
Sep 25, 2011 at 10:01am
I swear I saw exactly this question about 24 hours ago. Go to that thread.
Sep 25, 2011 at 10:08am
Sep 25, 2011 at 10:36am
i need exactly program`s code who knows pls write here otherwisse pls dont write other things --thanks everyone
Sep 25, 2011 at 10:49am
People can't give you the answer...
Sep 25, 2011 at 10:56am
and do you know book which there are many examples with solutions --i can learn well with examples--to learn only read very diffucult for me
Sep 25, 2011 at 11:57am
You need to learn how to work it out yourself. A programmer that can only copy isn't very useful. There are multiple ways of doing this I can think of just off the top of my head and I'm no genius programmer. The best way I'd say would be using to check if each digit should be a 1 or a 0 using by checking the modulus.
Sep 25, 2011 at 12:24pm
I dont copy but i need 1 example to understand after that i can do problems that i know type of question
Sep 25, 2011 at 12:25pm
I am new after that i think i will not need examples and i can solve different type problems without examples
Topic archived. No new replies allowed.