i want to make console application to calculate binary number for example :
my program will ask for number input like 1010001101 and save it in D.
then it will ask for another number and save it in (P) and this ( P) must be shorter than D at least with on character like 101000110 .
then new character( N ) = Number of (D) + number of (p) - 1 .
N= 10 + 6 -1 = 5
after that we will add Zeros after (D) to become 101000110100000 then we divide it .
please see the picture here :