Binary system

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.
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.
to understand I need peogram
A program that does what?
I swear I saw exactly this question about 24 hours ago. Go to that thread.
i need exactly program`s code who knows pls write here otherwisse pls dont write other things --thanks everyone
People can't give you the answer...
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
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.
I dont copy but i need 1 example to understand after that i can do problems that i know type of question
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.